aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrancesco Rodriguez <lrodriguezsanc@gmail.com>2013-04-29 19:21:44 -0500
committerFrancesco Rodriguez <lrodriguezsanc@gmail.com>2013-04-29 19:26:07 -0500
commitd0e05cbfb86abe9a5b16812271a294fa8e8654b8 (patch)
tree69dc00c955986d371afe20742be14a4ef26902ed
parent8c3affeb76edf6cf887aa69e549f10895172f23b (diff)
downloadrails-d0e05cbfb86abe9a5b16812271a294fa8e8654b8.tar.gz
rails-d0e05cbfb86abe9a5b16812271a294fa8e8654b8.tar.bz2
rails-d0e05cbfb86abe9a5b16812271a294fa8e8654b8.zip
Fix guide section about assets precompiling task in production [ci skip]
You need to specify `RAILS_ENV=production` Related to https://github.com/rails/sass-rails/issues/152. /cc @guilleiguaran
-rw-r--r--guides/source/asset_pipeline.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/guides/source/asset_pipeline.md b/guides/source/asset_pipeline.md
index 43df544e28..bc4b49dd38 100644
--- a/guides/source/asset_pipeline.md
+++ b/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