Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
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...
commit 1847039680a024318eceadc4fc4f18cc1f40f476 1 parent fa39c8c
Francesco Rodriguez authored rafaelfranca committed
Showing with 1 addition and 1 deletion.
  1. +1 −1  guides/source/asset_pipeline.md
View
2  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
Please sign in to comment.
Something went wrong with that request. Please try again.