documentcloud / jammit

Industrial Strength Asset Packaging for Rails
http://documentcloud.github.io/jammit/
MIT License
1.16k stars 197 forks source link

javascript_compressor option ignored if gem isn't installed #226

Closed ggarnier closed 9 years ago

ggarnier commented 12 years ago

If I configure javascript_compressor to closure but don't install closure-compiler gem, jammit uses the default yui-compressor.

I don't know if this is really an issue, or an intended behavior, but I think it should at least throw a warning message.

Pixelime commented 11 years ago

+1 I'm having the same issue right now... :-(

Fortunately a simple gem 'closure-compiler' in your Gemfile is enough to fix the issue but I don't know why Jammit automatically install the yui-compressor gem and not the closure one...

reefdog commented 9 years ago

Yup, this is a problem. Will track it on #257.