In one of m project I am using Jammit which provides both the CSS and JavaScript concatenation, compression and also provides built-in JavaScript template support.
Installed jammit gem.
[source=ruby]gem install jammit[/source]
Added to gem file.
[source=ruby]gem ‘jammit'[/source]
Started my server and got error no such file to load — win32/open3 (LoadError)
Then I installed the win32-open3 gem.
[source=ruby]gem install win32-open3[/source]
Again started the server got the same error and then I added it in gemfile.
[source=ruby]gem ‘win32-open3′[/source]
Things started working properly.
The application I work is a javascript-heavy application and Jammit helps me to organize the javascript and css files in a better way which made my code look nicer.
The other cool thing I liked about Jammit is that it provides built-in JavaScript template support which is more elegant .
I use underscore.js templating engine in my application, Now I am slowly migrating to Jammit way of templating which is very handy.
Thanks Jammit
Hi I am also big fun of underscore while I do not use(yet) Jammit.
I think underscore fills the gap left by JQuery and I will definitively embed it in my future projects.
BTW, I have discuss also the topic: http://a-developer-life.blogspot.com/2011/03/some-useful-javascript-resources.html