Make bundler-checksum work with bundler v2.5.0+
What does this MR do and why?
Bundler v2.5.0 added a gem_remote_fetcher
argument in
Bundler::Fetcher::Base
in
https://github.com/rubygems/rubygems/pull/7092. We need to add that
extra argument conditionally to make bundler exec bundle checksum init
work again.
This error was first seen by the Renovate bot in !140597 (closed).
How to set up and validate locally
- Run
bundle exec bundle-checksum init
with this branch. Verify it runs fine. - Install the latest bundler:
gem install bundler
. - Update the
BUNDLED WITH
version inGemfile.lock
with the version that was just installed (e.g.2.5.3
). - Repeat step 1.
Edited by Stan Hu