mirror of
https://github.com/discourse/discourse.git
synced 2024-11-26 07:43:43 +08:00
Adds bundle exec prefix to rake tasks
This commit is contained in:
parent
4e9f65f1e1
commit
b88cfc3bb8
|
@ -61,9 +61,9 @@ On oldserver:
|
||||||
On the new server:
|
On the new server:
|
||||||
```
|
```
|
||||||
bundle install --without test --deployment
|
bundle install --without test --deployment
|
||||||
RAILS_ENV=production bundle exec rake db:migrate
|
RUBY_GC_MALLOC_LIMIT=90000000 RAILS_ENV=production bundle exec rake db:migrate
|
||||||
RAILS_ENV=production bundle exec rake assets:precompile
|
RUBY_GC_MALLOC_LIMIT=90000000 RAILS_ENV=production bundle exec rake assets:precompile
|
||||||
RAILS_ENV=production bundle exec rake posts:rebake
|
RUBY_GC_MALLOC_LIMIT=90000000 RAILS_ENV=production bundle exec rake posts:rebake
|
||||||
```
|
```
|
||||||
If the `rake db:migrate` step fails, you might have to run it twice.
|
If the `rake db:migrate` step fails, you might have to run it twice.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user