Coder Social home page Coder Social logo

eliminate ruby dependency about sass-brunch HOT 21 CLOSED

brunch avatar brunch commented on June 16, 2024
eliminate ruby dependency

from sass-brunch.

Comments (21)

paulmillr avatar paulmillr commented on June 16, 2024

we have compass-brunch -- it can support compass and our version would support pure sass

from sass-brunch.

es128 avatar es128 commented on June 16, 2024

The more I think about it, the more I'm liking the idea of giving this plugin the smarts to use node-sass when viable, fallback to the gem automatically, and print informative error messages when compass is being used without the gems being available. The only drawback is installation of node-sass as a dependency when it isn't necessary for compass users, but that's not such a big deal - plus they can use compass-brunch instead if it bothers them.

Any objections to that?

Although I'd still like to hear from brunch + sass - compass users about this. As nice as I think that setup would be, I'm not sure yet if it's worth the effort, or whether it would actually help anybody.

from sass-brunch.

paulmillr avatar paulmillr commented on June 16, 2024

it's cool, but let's hear someone else's opinions

from sass-brunch.

DjebbZ avatar DjebbZ commented on June 16, 2024

Haven't used brunch for a while, and not a Compass user, so the possibility to not rely on Ruby in the whole stack just sass looks appealing. This would speed up the build/watch process. Docpad already has both versions of its sass plugin. My 2 cents (really worth 2 cents though).

from sass-brunch.

soundyogi avatar soundyogi commented on June 16, 2024

+1
I'd love to be able to use the scss version of foundation without all that ruby-hassle :C ! Do not care about Compass though ^^

from sass-brunch.

es128 avatar es128 commented on June 16, 2024

Well, that's one!

Although your auto-avatar looking suspiciously like a middle finger makes me a bit nervous. 😲

from sass-brunch.

lionelB avatar lionelB commented on June 16, 2024

:+1 for remove ruby dependency and uses bourbon!

from sass-brunch.

vendethiel avatar vendethiel commented on June 16, 2024

+1 too :).

from sass-brunch.

lionelB avatar lionelB commented on June 16, 2024

I think both plugins are valuable.

  • One providing support to Compass and based on the ruby version of Sass
  • One providing a Sass-only based on the nodejs binding of libsass

from sass-brunch.

es128 avatar es128 commented on June 16, 2024

@lionelB I plan to support both within this plugin

from sass-brunch.

lionelB avatar lionelB commented on June 16, 2024

Since compass is only compatible with Sass ruby, support both versions of Sass transparently is a great news :)

from sass-brunch.

Elexy avatar Elexy commented on June 16, 2024

+1, don't care for compass, and like to be able to get rid of ruby dependency. Giving me headache deploying on OpenShift.

from sass-brunch.

john-kurkowski avatar john-kurkowski commented on June 16, 2024

+1

from sass-brunch.

es128 avatar es128 commented on June 16, 2024

No more +1s needed to convince me this is worth doing. I intend to work on it soon.

from sass-brunch.

nybblr avatar nybblr commented on June 16, 2024

Big +1 here =) I'm using brunch on a Raspberry Pi, and while the node installation is pretty quick, downloading/compiling a Ruby is brutal (over 2 hours).

from sass-brunch.

jsdir avatar jsdir commented on June 16, 2024

+1

from sass-brunch.

paulmillr avatar paulmillr commented on June 16, 2024

Check 1.7.3 later today folks.

from sass-brunch.

nybblr avatar nybblr commented on June 16, 2024

Sweet! Thanks @paulmillr

from sass-brunch.

jsdir avatar jsdir commented on June 16, 2024

Thanks @paulmillr. Goodbye ruby!

from sass-brunch.

virtualfunction avatar virtualfunction commented on June 16, 2024

Can I ask what the sassRe is doing here. It seems that .sass files are compiling with ruby. I'm using bourbon with .sass files but have no need for Ruby. I'm hacking round it with a cheeky SassCompiler::_rubyCompile = SassCompiler::_nativeCompile line in my brunch-config.coffee file

from sass-brunch.

pikeas avatar pikeas commented on June 16, 2024

Same problem here, why does sass-brunch send .sass files to Ruby's sass gem instead of to node-sass?

@virtualfunction's hack worked for me with a slight modification:

SassCompiler = require('sass-brunch')
SassCompiler.prototype._rubyCompile = SassCompiler.prototype._nativeCompile

from sass-brunch.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.