Closed nowhereman closed 14 years ago
Hey nowhereman. The contents of your assets.yml
file are passed through ERB before being used, so if you'd like to disable compression for a specific environment, or change any other setting, you can do there. Does that work for you, or do you have a different use case?
You're right, I've included this line, in assets.yml :
<%= "compress_assets: false" if ENV['RAILS_ENV'] == 'development' %>
and this line, in my rails template :
ENV['RAILS_ENV'] ||= 'development'
And it works. Thanks !
E.g. jammit --disable-compression
Thanks for your work !