From 7b3ef370f84cd0a2e7a8d3ce8717ae6dfa49319e Mon Sep 17 00:00:00 2001 From: David Rodriguez Date: Fri, 15 Mar 2024 19:10:32 +0100 Subject: [rubygems/rubygems] Fix incorrect `bundle update --bundler` message https://github.com/rubygems/rubygems/commit/146de56353 --- spec/bundler/install/gemfile/git_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'spec/bundler/install/gemfile/git_spec.rb') diff --git a/spec/bundler/install/gemfile/git_spec.rb b/spec/bundler/install/gemfile/git_spec.rb index 24cf30eadb..45ee7b44d1 100644 --- a/spec/bundler/install/gemfile/git_spec.rb +++ b/spec/bundler/install/gemfile/git_spec.rb @@ -929,7 +929,7 @@ RSpec.describe "bundle install with git sources" do gem "has_submodule" end G - expect(err).to match(%r{submodule >= 0 could not be found in rubygems repository #{file_uri_for(gem_repo1)}/ or installed locally}) + expect(err).to match(%r{submodule >= 0 could not be found in rubygems repository #{file_uri_for(gem_repo1)}/, cached gems or installed locally}) expect(the_bundle).not_to include_gems "has_submodule 1.0" end -- cgit v1.2.3