summaryrefslogtreecommitdiff
path: root/lib/bundler/vendor
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2019-08-21 13:30:43 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2019-08-21 13:31:22 +0900
commit4419b5dbc2e3fe4ec3ac27e3d8b8a2b357f27426 (patch)
treeea5725ae807a4cf0270ceaf0d0dcd0db5508c2ce /lib/bundler/vendor
parent81dfe3c47bb397a0a54ee10c6913112181a8466d (diff)
The investigation is going on...
Diffstat (limited to 'lib/bundler/vendor')
-rw-r--r--lib/bundler/vendor/molinillo/lib/molinillo/resolution.rb10
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/bundler/vendor/molinillo/lib/molinillo/resolution.rb b/lib/bundler/vendor/molinillo/lib/molinillo/resolution.rb
index acf7777414..b49acd4a48 100644
--- a/lib/bundler/vendor/molinillo/lib/molinillo/resolution.rb
+++ b/lib/bundler/vendor/molinillo/lib/molinillo/resolution.rb
@@ -605,6 +605,16 @@ module Bundler::Molinillo
requirements[name_for_locking_dependency_source] = [locked_requirement] if locked_requirement
vertex.incoming_edges.each do |edge|
(requirements[edge.origin.payload.latest_version] ||= []).unshift(edge.requirement)
+ rescue NoMethodError => e
+ if e.receiver.is_a?(String) and e.name == :name
+ PP.pp({vertex: vertex,
+ incoming_edges: vertex.incoming_edges,
+ edge: edge,
+ origin: edge.origin,
+ payload: edge.origin.payload}, STDERR)
+ STDERR.puts e.message, e.backtrace
+ end
+ raise
end
activated_by_name = {}