Im upgrading my app to rails31 .. everything works quite ok but i have a problem with the asset pipeline. im using rails3.1.rc5
My js and my css gets combined but not minified.. Im using:
RAILS_ENV=production rake assets:precompile
to precompile the assets..
I have these settings in my production.rb
config.assets.compress = true
config.assets.js_compressor = :uglifier
config.assets.css_compressor = :scss
The files are combined and get the md5 in the name but they are not minified.
Any help would be appreciated
Use this command:
rake RAILS_ENV=production RAILS_GROUP=assets assets:precompile
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With