This method is deprecated or moved on the latest stable version.
The last existing version (v2_2_9) is shown here.
resolve_for_conflict(needed, specs, state)
public
Rewinds needed and specs to a previous state in
state for a conflict between dep and existing.
# File lib/rubygems/resolver.rb, line 367
def resolve_for_conflict needed, specs, state # :nodoc:
# We exhausted the possibles so it's definitely not going to work out,
# bail out.
raise Gem::ImpossibleDependenciesError.new state.dep, state.conflicts if
state.possibles.empty?
# Retry resolution with this spec and add it's dependencies
spec, act = activation_request state.dep, state.possibles
needed = requests spec, act, state.needed.dup
specs = Gem::List.prepend state.specs, act
return needed, specs
end