I was trying an concept and found an weird issue when trying to enable
compression in my development environment.
I'd like to be able to run my specs on the minified versions as well,
so, using my rails_sandbox_jasmine gem, I'd like to use it this way:
SIMULATE_PRODUCTION=1 rake sandbox_assets:serve
And in my development.rb, I've set it to:
config.assets.js_compressor = :uglifier
config.assets.compress = !!ENV['SIMULATE_PRODUCTION']
config.assets.digest = !!ENV['SIMULATE_PRODUCTION']
config.assets.debug = !ENV['SIMULATE_PRODUCTION']
The debug (concatenation) and digest feature work but the generated
assets are not minified.
Is that expected?
Thanks in advance,
Rodrigo.
--
You received this message because you are subscribed to the Google Groups "Ruby on
Rails: Core" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/rubyonrails-core?hl=en.