Permalink
Browse files

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

You need to specify `RAILS_ENV=production`

Related to rails/sass-rails#152.

/cc @guilleiguaran
  • Loading branch information...
1 parent 8c3affe commit d0e05cbfb86abe9a5b16812271a294fa8e8654b8 Francesco Rodriguez committed Apr 30, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 guides/source/asset_pipeline.md
@@ -416,7 +416,7 @@ You can call this task on the server during deployment to create compiled versio
The rake task is:
```bash
-$ 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

0 comments on commit d0e05cb

Please sign in to comment.