From e018e7a8f6ff6fbaa106a53a726380586b5d4b0c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9gis=20Hanol?= Date: Mon, 31 Jul 2017 11:17:56 +0200 Subject: [PATCH] `db:test:prepare` doesn't seem to work --- docs/DEVELOPER-ADVANCED.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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