summaryrefslogtreecommitdiff
path: root/lib/bundler/definition.rb
diff options
context:
space:
mode:
authorDavid Rodríguez <deivid.rodriguez@riseup.net>2023-07-21 20:20:07 +0200
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2023-08-16 15:03:38 +0900
commite92ace6be7e6501bfb7dec43a8d8abdf19ae80f0 (patch)
tree040efe790be5971044ca01ba005234e8dfd22aa1 /lib/bundler/definition.rb
parent7bb3e637ffedf34fa148d4fbf35b57681490c7e1 (diff)
[rubygems/rubygems] Remove unneeded stuff
This should be only for path sources, and unrelated to git. https://github.com/rubygems/rubygems/commit/0d8f31eeed
Diffstat (limited to 'lib/bundler/definition.rb')
-rw-r--r--lib/bundler/definition.rb4
1 files changed, 2 insertions, 2 deletions
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 }