aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRafael Mendonça França <rafaelmfranca@gmail.com>2015-02-18 16:37:43 -0200
committerRafael Mendonça França <rafaelmfranca@gmail.com>2015-02-18 16:37:43 -0200
commitef4afb65b2d4797ee23d9e4e7a64a13746052d24 (patch)
tree35ea539710328b0e6b95cd61cb3f0e9d857eb760
parenta845abdb85b1242c2005d278bc8d014380ada90f (diff)
downloadrails-ef4afb65b2d4797ee23d9e4e7a64a13746052d24.tar.gz
rails-ef4afb65b2d4797ee23d9e4e7a64a13746052d24.tar.bz2
rails-ef4afb65b2d4797ee23d9e4e7a64a13746052d24.zip
Talk about Gemfile.lock in the contributing guide
[ci skip]
-rw-r--r--guides/source/contributing_to_ruby_on_rails.md10
1 files changed, 7 insertions, 3 deletions
diff --git a/guides/source/contributing_to_ruby_on_rails.md b/guides/source/contributing_to_ruby_on_rails.md
index e06706d750..32d1e2c6e7 100644
--- a/guides/source/contributing_to_ruby_on_rails.md
+++ b/guides/source/contributing_to_ruby_on_rails.md
@@ -173,12 +173,12 @@ $ git checkout -b my_new_branch
It doesn't matter much what name you use, because this branch will only exist on your local computer and your personal repository on GitHub. It won't be part of the Rails Git repository.
-### Bundle Update
+### Bundle install
-Update and install the required gems.
+Install the required gems.
```bash
-$ bundle update
+$ bundle install
```
### Running an Application Against Your Local Branch
@@ -376,6 +376,10 @@ A CHANGELOG entry should summarize what was changed and should end with author's
Your name can be added directly after the last word if you don't provide any code examples or don't need multiple paragraphs. Otherwise, it's best to make as a new paragraph.
+### Updating the Gemfile.lock
+
+Some changes requires the dependencies to be upgraded. In these cases make sure you run `bundle update` to get the right version of the dependency and commit the `Gemfile.lock` file within your changes.
+
### Sanity Check
You should not be the only person who looks at the code before you submit it.