Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Browse files

Mentioning catch with Bundler remembering options between different c…

  • Loading branch information...
commit a82c27253d4a473e01b3115350e08096dcc1f1c9 1 parent ab42529
@andmej andmej authored fxn committed
Showing with 6 additions and 1 deletion.
  1. +6 −1 railties/guides/source/contributing_to_rails.textile
7 railties/guides/source/contributing_to_rails.textile
@@ -105,12 +105,17 @@ mysql> GRANT ALL PRIVILEGES ON activerecord_unittest2.*
to 'rails'@'localhost';
-Then ensure you run bundle install without the +--without db+ option:
+Now you'll have to install Active Record dependencies. This step is a little tricky because just running +bundle install+ without the +--without db+ parameter won't get those dependencies installed. It turns out that bundler remembers the +--without db+ parameter between calls so you'll have to manually override this. (See the "+bundle_install+ man page": for details)
+The easiest way to do this is to remove bundler's config file and then run +install+ again:
+rm .bundle/config
bundle install
+INFO: If you don't feel comfortable deleting bundler's config file, you can achieve the same effect by manually removing the "+BUNDLE_WITHOUT: db+" line on +.bundle/config+.
Finally, enter this from the +activerecord+ directory to create the test databases:

0 comments on commit a82c272

Please sign in to comment.
Something went wrong with that request. Please try again.