Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP


Fix assets precompiling in production guide #10378

merged 1 commit into from

2 participants


You need to specify RAILS_ENV=production

Related to rails/sass-rails#152.

/cc @guilleiguaran

@rafaelfranca rafaelfranca merged commit 246a95c into from
@frodsan frodsan deleted the branch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Apr 30, 2013
  1. @frodsan

    Fix guide section about assets precompiling task in production [ci skip]

    frodsan authored
    You need to specify `RAILS_ENV=production`
    Related to rails/sass-rails#152.
    /cc @guilleiguaran
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  guides/source/
2  guides/source/
@@ -416,7 +416,7 @@ You can call this task on the server during deployment to create compiled versio
The rake task is:
-$ bundle exec rake assets:precompile
+$ RAILS_ENV=production bundle exec rake assets:precompile
For faster asset precompiles, you can partially load your application by setting
Something went wrong with that request. Please try again.