aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrés Mejía <andmej@gmail.com>2010-11-26 17:16:52 +0100
committerAndrés Mejía <andmej@gmail.com>2010-11-26 17:16:52 +0100
commit3a50799ab8aede48767612ba1d4cc904f294cdb0 (patch)
tree597fbf8d20a09620a4a3bd03e60d52d122b62a64
parentfe2103a1c8336e8ef164d696e8eaeab62158d84b (diff)
downloadrails-3a50799ab8aede48767612ba1d4cc904f294cdb0.tar.gz
rails-3a50799ab8aede48767612ba1d4cc904f294cdb0.tar.bz2
rails-3a50799ab8aede48767612ba1d4cc904f294cdb0.zip
Mentioning catch with Bundler remembering options between different calls
-rw-r--r--railties/guides/source/contributing_to_rails.textile7
1 files changed, 6 insertions, 1 deletions
diff --git a/railties/guides/source/contributing_to_rails.textile b/railties/guides/source/contributing_to_rails.textile
index 721adc00d7..ccb9db5eee 100644
--- a/railties/guides/source/contributing_to_rails.textile
+++ b/railties/guides/source/contributing_to_rails.textile
@@ -105,12 +105,17 @@ mysql> GRANT ALL PRIVILEGES ON activerecord_unittest2.*
to 'rails'@'localhost';
</shell>
-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":http://gembundler.com/man/bundle-install.1.html for details)
+
+The easiest way to do this is to remove bundler's config file and then run +install+ again:
<shell>
+rm .bundle/config
bundle install
</shell>
+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:
<shell>