attempt_to_activate_existing_spec(existing_node)
private
Attempts to activate the current {#possibility} (given that it has already
been activated) @return [void]
# File lib/rubygems/resolver/molinillo/lib/molinillo/resolution.rb, line 326
def attempt_to_activate_existing_spec(existing_node)
existing_spec = existing_node.payload
if requirement_satisfied_by?(requirement, activated, existing_spec)
new_requirements = requirements.dup
push_state_for_requirements(new_requirements, false)
else
return if attempt_to_swap_possibility
create_conflict
debug(depth) { "Unsatisfied by existing spec (#{existing_node.payload})" }
unwind_for_conflict
end
end