Skip to content

Conversation

@myronmarston
Copy link
Collaborator

The new version of bundler includes some internal refactorings that broke our monorepo setup. To stay compatible, I've had to rework our gem override to instead override add_dependency.

I believe this is the root of the problem I reported to dependabot:

dependabot/dependabot-core#12426

The latest dependabot uses Bundler 2.6.9, and this was causing the issues reported in that ticket since our gem override was no longer effective.

The specific bundler change prompting this is this PR:

ruby/rubygems#8480

In that PR, the gemspec method was refactored to no longer call gem. Instead, it calls a new add_dependency method.

The new version of bundler includes some internal refactorings that
broke our monorepo setup. To stay compatible, I've had to rework our
`gem` override to instead override `add_dependency`.

I believe this is the root of the problem I reported to dependabot:

dependabot/dependabot-core#12426

The latest dependabot uses Bundler 2.6.9, and this was causing the
issues reported in that ticket since our `gem` override was no longer
effective.

The specific bundler change prompting this is this PR:

ruby/rubygems#8480

In that PR, the `gemspec` method was refactored to no longer call `gem`.
Instead, it calls a new `add_dependency` method.
@CLAassistant
Copy link

CLAassistant commented Jul 8, 2025

CLA assistant check
All committers have signed the CLA.

@myronmarston myronmarston deleted the myron/update-bundler branch July 8, 2025 03:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants