diff options
author | Joe Fiorini <joe@joefiorini.com> | 2011-07-23 11:28:49 -0400 |
---|---|---|
committer | Joe Fiorini <joe@joefiorini.com> | 2011-07-23 12:15:58 -0400 |
commit | 50d5e0f7e8ab01f3e7b5cf806eb4f9348eeff363 (patch) | |
tree | d148443f7aafeaabfab25d6969e6d618809e9b23 /railties/guides | |
parent | 72df64b4e1229ddf05d75d17a0bc0eb1ad453910 (diff) | |
download | rails-50d5e0f7e8ab01f3e7b5cf806eb4f9348eeff363.tar.gz rails-50d5e0f7e8ab01f3e7b5cf806eb4f9348eeff363.tar.bz2 rails-50d5e0f7e8ab01f3e7b5cf806eb4f9348eeff363.zip |
Tests now require MySQL2 adapter in order to run
Diffstat (limited to 'railties/guides')
-rw-r--r-- | railties/guides/source/contributing_to_ruby_on_rails.textile | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/railties/guides/source/contributing_to_ruby_on_rails.textile b/railties/guides/source/contributing_to_ruby_on_rails.textile index e6ec061c9a..ddb82fef65 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: <shell> -$ bundle install --without db +$ bundle install </shell> -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: +This command will install all dependencies. With dependencies installed, you can run the test suite with: <shell> $ rake test @@ -139,15 +139,6 @@ $ sudo apt-get install mysql-server libmysqlclient15-dev $ sudo apt-get install postgresql postgresql-client postgresql-contrib libpq-dev </shell> -After that run: - -<shell> -$ rm .bundle/config -$ bundle install -</shell> - -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: <shell> |