Jammit installation issue (no such file to load — win32/open3 (LoadError)) in Windows

Surendran Sukumaran

36 sec read

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

Related posts:

One Reply to “Jammit installation issue (no such file to load —…”

Leave a Reply

Your email address will not be published. Required fields are marked *