Skip to content

Commit ad92aba

Browse files
Merge pull request #8964 from rubygems/deivid-rodriguez/upgrade-docs-clarifications
Small clarifications to Bundler 4 upgrade docs
2 parents 6ddd583 + 7d19e6c commit ad92aba

1 file changed

Lines changed: 10 additions & 4 deletions

File tree

doc/bundler/UPGRADING.md

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,10 +50,14 @@ will explicitly need to configure it, either through environment variables,
5050
application configuration, or machine configuration. For example, with `bundle
5151
config set --local without development test`.
5252

53-
### Bundler will include checksums in the lockfile by default
53+
### Bundler will include checksums in new lockfiles by default
5454

5555
We shipped this security feature recently and we believe it's time to turn it on
56-
by default, so that everyone benefits from the extra security assurances by default.
56+
by default, so that everyone benefits from the extra security assurances. So
57+
whenever you create a new lockfile, Bundler will include a CHECKSUMS section.
58+
Bundler will not automatically add a CHECKSUMS section to existing
59+
lockfiles, though, unless explicitly requested through `bundle lock
60+
--add-checksums`.
5761

5862
### Strict source pinning in Gemfile is enforced by default
5963

@@ -156,8 +160,10 @@ Bundler will refuse to run otherwise.
156160

157161
* Git and Path gems will be included in `vendor/cache` by default
158162

159-
We're unsure why these gems were treated specially so we'll start caching them
160-
normally.
163+
If you have a `vendor/cache` directory (to support offline scenarios, for
164+
example), Bundler will start including gems from `path` and `git` sources in
165+
there. We're unsure why these gems were treated specially so we'll start
166+
caching them normally.
161167

162168
* Bundler will use cached local data if available when network issues are found
163169
during resolution.

0 commit comments

Comments
 (0)