Skip to content

Commit

Permalink
[rubygems/rubygems] Fix Bundler daily CI
Browse files Browse the repository at this point in the history
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.

rubygems/rubygems@304ab6e1b9
  • Loading branch information
deivid-rodriguez authored and hsbt committed Dec 16, 2023
1 parent 0ff34aa commit 7cd4282
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/bundler/runtime/self_management_spec.rb
Expand Up @@ -28,7 +28,7 @@
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
Expand Down

0 comments on commit 7cd4282

Please sign in to comment.