Rails 3.1 asset pipeline is not minifying
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 minifie开发者_开发知识库d.
Any help would be appreciated
Use this command:
rake RAILS_ENV=production RAILS_GROUP=assets assets:precompile
This solved my problem....
http://groups.google.com/group/rubyonrails-core/browse_thread/thread/4bc7bac8b295b3aa
精彩评论