Repository navigation
Don't warn about the running Bundler in default gem downgrades - #10051
Merged
Merged
Conversation
The resolved specs always include the running Bundler, so a Bundler 4.1.x locked by BUNDLED WITH was reported as a downgrade on every install whenever Ruby or `gem update --system` shipped a newer default bundler. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The running Bundler is not always the one pinned by BUNDLED WITH, for example without a lockfile or with `bundle _x_`. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Member
|
I thought the Bundler entry would be harmless, but I missed the fact that |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Since #10026,
bundle installlistsbundleramong the downgraded default gems whenever the running Bundler is older than the default one shipped with Ruby or installed bygem update --system. The resolved specs always include the running Bundler, so a lockfile withBUNDLED WITH 4.1.0would warn on every install once a newer default Bundler ships, and users have no way to silence it.This skips
bundlerinwarn_on_default_gem_downgrades. Other default gem downgrades are still reported. #10026 already left Bundler downgrades out of scope.Generated with Claude Code