Ask HN: Rails / Grunt integration – how?

1 points by igravious ↗ HN
Long time Rails[1] user. Have discovered Npm[2], Bower[3], Grunt[4], Yeoman[5] recently. How do I get these excellent tools to play nicely with the Rails ecosystem[6]? Notably Sprockets[7] and Grunt do not seem to see eye to eye?

What strategies have you used? Would love to know.

[1] http://rubyonrails.org/

[2] https://www.npmjs.org/

[3] http://bower.io/

[4] http://gruntjs.com/

[5] http://yeoman.io/

[6] http://guides.rubyonrails.org/asset_pipeline.html

[7] https://github.com/sstephenson/sprockets

1 comment

[ 3.5 ms ] story [ 40.2 ms ] thread
At work we are using rails-assets.org to include bower packages as ruby gems. rails-assets.org gets added as a source in the gemfile and run bundler as usual.

We looked at a couple of other integrations. rails-assets.org was the only one that did't require adding extra parts that need to get managed. Time spent managing multiple packaging systems is time not spent doing productive work.