"No more ExecJS" isn't a big benefit on my opinion, as I mentioned in other email, there are a lot of people using Rails without Node.js using the alternatives supported by ExecJS. Sprockets also supports live-reload and you can integrate it with Bower [1][2]
We're already discussing the idea of integrate Rails with Bower by default, Sprockets already have some support for it. Our main concern about Bower is making Node.js a dependency of Rails. [1] http://dev.af83.com/2013/01/02/managing-rails-assets-with-bower.html [2] http://joelencioni.com/blog/2014/01/03/integrating-bower-with-rails/ On Wed, Jun 11, 2014 at 1:01 AM, Frank Tellefsen <[email protected]> wrote: > 2014-06-10 0:36 GMT+02:00 Ryan Bigg <[email protected]>: > > > > Why would the community do that? What are the benefits? > Why is Sprockets bad? > > I'm no expert, but what I like about it is: > > - Direct JS libs management via `bower.json`, no more > http://rails-assets.org/ middleman > > - Better concatenation and minification via Grunt tasks like > https://github.com/yeoman/grunt-usemin > > - No more ExecJS or having to install JDK just to minify ones CSS via the > YUI Compressor > > - Live reload in development mode > > > Why would we replace it with something that is not up to its prime? > > I'm not saying let's replace it right away. Unless we can recruit more > devs, bringing it to its prime might take a while as right now it's just > one guy, Mr Joe Fiorini. > > > > Wouldn't we have to rewrite a whole bunch of Rails code and > documentation? > > I'd gladly help with the docs. > > 2014-06-10 18:35 GMT+02:00 Rodrigo Rosenfeld Rosas <[email protected]>: > > > > While I can see how Sprockets is not a good enough solution, I don't > think that forcing users to convert their libraries in a RequireJS module > is a good thing. > > I'm not a big fan of this either, but what are the alternatives? > > > > I'd love to see some solid integrated JS dependency management tool to > play well with Rails but I'm not sure if this is gonna happen any time soon. > > It's already here, and it's staring you right in the face. > > Frank > > > > 2014-06-10 1:05 GMT+02:00 Steve Klabnik <[email protected]>: > > Rails already has a Node dependency in CoffeeScript. >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Ruby on Rails: Core" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> To post to this group, send email to [email protected]. >> Visit this group at http://groups.google.com/group/rubyonrails-core. >> For more options, visit https://groups.google.com/d/optout. >> > > -- > You received this message because you are subscribed to the Google Groups > "Ruby on Rails: Core" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/rubyonrails-core. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/rubyonrails-core. For more options, visit https://groups.google.com/d/optout.
