diff --git a/docs/DEVELOPER-ADVANCED.md b/docs/DEVELOPER-ADVANCED.md index 7d4437ae848..a8bf7a1b847 100644 --- a/docs/DEVELOPER-ADVANCED.md +++ b/docs/DEVELOPER-ADVANCED.md @@ -50,7 +50,8 @@ If everything goes alright, let's clone Discourse and start hacking: git clone https://github.com/discourse/discourse.git ~/discourse cd ~/discourse bundle install - bundle exec rake db:migrate db:test:prepare + bundle exec rake db:migrate + RAILS_ENV=test bundle exec rake db:migrate # run the specs (optional) bundle exec rake autospec # CTRL + C to stop