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

Uncompile Development Asset Pipeline


I was compiling my asset pipeline for my production environment and it did for all my environments. How can I uncompile my asset pipeline for my development environment?

I have checked my config/development environment and cannot find a fix.

Thanks in advance for any help...


Solution

  • To remove precompiled assets use:

    rake assets:clean
    

    What this basically does is remove the public/assets directory. You may need to include the RAILS_ENV variable if you need to run it for a certain environment.