From e92ace6be7e6501bfb7dec43a8d8abdf19ae80f0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Rodr=C3=ADguez?= Date: Fri, 21 Jul 2023 20:20:07 +0200 Subject: [rubygems/rubygems] Remove unneeded stuff This should be only for path sources, and unrelated to git. https://github.com/rubygems/rubygems/commit/0d8f31eeed --- lib/bundler/definition.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib') diff --git a/lib/bundler/definition.rb b/lib/bundler/definition.rb index 8d90e2501d..241a97fc7d 100644 --- a/lib/bundler/definition.rb +++ b/lib/bundler/definition.rb @@ -832,9 +832,9 @@ module Bundler if s.source.instance_of?(Source::Path) || s.source.instance_of?(Source::Gemspec) new_specs = begin s.source.specs - rescue PathError, GitError + rescue PathError # if we won't need the source (according to the lockfile), - # don't error if the path/git source isn't available + # don't error if the path source isn't available next if specs. for(requested_dependencies, false). none? {|locked_spec| locked_spec.source == s.source } -- cgit v1.2.3