1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

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
This commit is contained in:
Francesco Rodriguez 2013-04-29 19:21:44 -05:00
parent 8c3affeb76
commit d0e05cbfb8

View file

@ -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