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:
parent
8c3affeb76
commit
d0e05cbfb8
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue