[rubygems/rubygems] Fix Bundler daily CI

A default Bundler copy with vendored net-http is causing a Bundler spec
to end up loading that copy instead of the copy of Bundler under test.
This is because of vcr, but we don't really need vcr in the command
that's failing, so I avoided loading it.

https://github.com/rubygems/rubygems/commit/304ab6e1b9
This commit is contained in:
David Rodríguez 2023-12-14 13:32:36 +01:00 committed by Hiroshi SHIBATA
parent 0ff34aa13e
commit 7cd4282cc8

View File

@ -28,7 +28,7 @@ RSpec.describe "Self management", rubygems: ">= 3.3.0.dev", realworld: true do
expect(out).to include("Bundler #{Bundler::VERSION} is running, but your lockfile was generated with #{previous_minor}. Installing Bundler #{previous_minor} and restarting using that version.")
# It uninstalls the older system bundler
bundle "clean --force"
bundle "clean --force", artifice: nil
expect(out).to eq("Removing bundler (#{Bundler::VERSION})")
# App now uses locked version