diff --git a/railties/guides/source/contributing_to_ruby_on_rails.textile b/railties/guides/source/contributing_to_ruby_on_rails.textile
index ddb82fef65..e6ec061c9a 100644
--- a/railties/guides/source/contributing_to_ruby_on_rails.textile
+++ b/railties/guides/source/contributing_to_ruby_on_rails.textile
@@ -81,10 +81,10 @@ $ gem install bundler
and run:
-$ bundle install
+$ bundle install --without db
-This command will install all dependencies. With dependencies installed, you can run the test suite with:
+This command will install all dependencies except the MySQL and PostgreSQL Ruby drivers. We will come back at these soon. With dependencies installed, you can run the test suite with:
$ rake test
@@ -139,6 +139,15 @@ $ sudo apt-get install mysql-server libmysqlclient15-dev
$ sudo apt-get install postgresql postgresql-client postgresql-contrib libpq-dev
+After that run:
+
+
+$ rm .bundle/config
+$ bundle install
+
+
+We need first to delete +.bundle/config+ because Bundler remembers in that file that we didn't want to install the "db" group (alternatively you can edit the file).
+
In order to be able to run the test suite against MySQL you need to create a user named +rails+ with privileges on the test databases: