Search code examples
ruby-on-railsrubyruby-on-rails-3.1asset-pipeline

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 minified.

Any help would be appreciated


Solution

  • This solved my problem....

    http://groups.google.com/group/rubyonrails-core/browse_thread/thread/4bc7bac8b295b3aa