1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

The investigation is going on...

This commit is contained in:
Nobuyoshi Nakada 2019-08-21 13:30:43 +09:00
parent 81dfe3c47b
commit 4419b5dbc2
No known key found for this signature in database
GPG key ID: 4BC7D6DF58D8DF60
2 changed files with 10 additions and 6 deletions

View file

@ -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 = {}

View file

@ -27,12 +27,6 @@ module Spec
end
source_requirements ||= {}
Bundler::Resolver.resolve(deps, @index, source_requirements, *args)
rescue NoMethodError => e
if e.receiver.is_a?(String) and e.name == :name
PP.pp([deps, @index, source_requirements, *args], STDERR)
STDERR.puts e.message, e.backtrace
end
raise
end
def should_resolve_as(specs)