From e1038f943fdfa2d156e800554718ed6e4e1b3828 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Rodr=C3=ADguez?= Date: Thu, 8 Jun 2023 19:40:41 +0200 Subject: [PATCH] [rubygems/rubygems] This spec is independent from global sources https://github.com/rubygems/rubygems/commit/d91c245921 --- spec/bundler/install/deploy_spec.rb | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/spec/bundler/install/deploy_spec.rb b/spec/bundler/install/deploy_spec.rb index 3f98d56f41..8553fcf356 100644 --- a/spec/bundler/install/deploy_spec.rb +++ b/spec/bundler/install/deploy_spec.rb @@ -297,8 +297,12 @@ RSpec.describe "install in deployment or frozen mode" do expect(out).to eq("WIN") end - it "works if a gem is missing, but it's on a different platform, and the Gemfile has no global source", :bundler => "< 3" do + it "works if a gem is missing, but it's on a different platform", :bundler => "< 3" do + build_repo2 + install_gemfile <<-G + source "#{file_uri_for(gem_repo2)}" + source "#{file_uri_for(gem_repo1)}" do gem "rake", platform: :#{not_local_tag} end