summaryrefslogtreecommitdiff
path: root/spec/bundler/runtime
diff options
context:
space:
mode:
authorDavid Rodríguez <deivid.rodriguez@riseup.net>2023-12-14 13:32:36 +0100
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2023-12-16 10:07:52 +0800
commit7cd4282cc8b4e8b242f082d806549d87964c4f8c (patch)
tree6a107f41cc14ebbf11ddf9be62269d339f78e189 /spec/bundler/runtime
parent0ff34aa13e9340871d5aeb339b5d86c52c7c2ca6 (diff)
[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
Diffstat (limited to 'spec/bundler/runtime')
-rw-r--r--spec/bundler/runtime/self_management_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/bundler/runtime/self_management_spec.rb b/spec/bundler/runtime/self_management_spec.rb
index d8ae27f0d6..d15ca3189e 100644
--- a/spec/bundler/runtime/self_management_spec.rb
+++ b/spec/bundler/runtime/self_management_spec.rb
@@ -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