Skip to content

Commit

Permalink
rake assets:precompile defaults to production env
Browse files Browse the repository at this point in the history
  • Loading branch information
spastorino committed Aug 9, 2011
1 parent 5f56db4 commit d9b690f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions actionpack/lib/sprockets/assets.rake
Expand Up @@ -2,6 +2,7 @@ namespace :assets do
# Ensures the RAILS_GROUPS environment variable is set
task :ensure_env do
ENV["RAILS_GROUPS"] ||= "assets"
ENV["RAILS_ENV"] ||= "production"
end

desc "Compile all the assets named in config.assets.precompile"
Expand Down

0 comments on commit d9b690f

Please sign in to comment.