summaryrefslogtreecommitdiff
path: root/man/bundle-exec.ronn
diff options
context:
space:
mode:
Diffstat (limited to 'man/bundle-exec.ronn')
-rw-r--r--man/bundle-exec.ronn7
1 files changed, 7 insertions, 0 deletions
diff --git a/man/bundle-exec.ronn b/man/bundle-exec.ronn
index c9ab2309e4..bd6e36d981 100644
--- a/man/bundle-exec.ronn
+++ b/man/bundle-exec.ronn
@@ -63,6 +63,13 @@ It also modifies Rubygems:
making system executables work
* Add all gems in the bundle into Gem.loaded_specs
+Finally, `bundle exec` also implicitly modifies `Gemfile.lock` if the lockfile
+and the Gemfile do not match. Bundler needs the Gemfile to determine things
+such as a gem's groups, `autorequire`, and platforms, etc., and that
+information isn't stored in the lockfile. The Gemfile and lockfile must be
+synced in order to `bundle exec` successfully, so `bundle exec`
+updates the lockfile beforehand.
+
### Loading
By default, when attempting to `bundle exec` to a file with a ruby shebang,