From 2f9e0cf1819b8679abe79494f622e1a42d7e021d Mon Sep 17 00:00:00 2001 From: Daniel Niknam Date: Sun, 25 Jul 2021 01:27:02 +1000 Subject: [rubygems/rubygems] Explicitly define a global source for tests This is in preparation for deprecating source-less gemfiles. https://github.com/rubygems/rubygems/commit/d6493fa3e2 --- spec/bundler/install/gems/standalone_spec.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'spec/bundler/install/gems/standalone_spec.rb') diff --git a/spec/bundler/install/gems/standalone_spec.rb b/spec/bundler/install/gems/standalone_spec.rb index 08d5276a54..b3b9d4d46b 100644 --- a/spec/bundler/install/gems/standalone_spec.rb +++ b/spec/bundler/install/gems/standalone_spec.rb @@ -146,6 +146,7 @@ RSpec.shared_examples "bundle install --standalone" do end bundle "config set --local path #{bundled_app("bundle")}" install_gemfile <<-G, :standalone => true, :dir => cwd, :raise_on_error => false + source "#{file_uri_for(gem_repo1)}" gem "bar", :git => "#{lib_path("bar-1.0")}" G end -- cgit v1.2.3