documentcloud / jammit

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

Prevent overriding of compress_assets when we reload the config and force option for java check #124

Closed enriclluelles closed 13 years ago

enriclluelles commented 13 years ago

This was bugging us for a time, because when the config was being loaded two times, once in the require an once when we called package!. Then it tried to compress even in a system without java, and raised an exception, because of the option being wrong

jashkenas commented 13 years ago

The logic around check_java_version has changed a bit ... and I'm not sure that your issue is still present on the latest master.