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:
parent
81dfe3c47b
commit
4419b5dbc2
2 changed files with 10 additions and 6 deletions
|
@ -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 = {}
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue