diff --git a/README.md b/README.md
index a1fb8fc17c079eb7d05c1ad59cfae07c8a4174cc..fcf8e40f6317202fa974eea8302f9b2c9f6f37c8 100644
--- a/README.md
+++ b/README.md
@@ -102,7 +102,7 @@ or start each component separately
 
 * Run all tests
 
-        bundle exec rake gitlab:test
+        bundle exec rake gitlab:test RAILS_ENV=test
 
 * [RSpec](http://rspec.info/) unit and functional tests