class Bundler::Resolver
def resolve_for_conflict(state)
def resolve_for_conflict(state) raise version_conflict if state.nil? || state.possibles.empty? reqs, activated, depth, conflicts = state.reqs.dup, state.activated.dup, state.depth, state.conflicts.dup requirement = state.requirement possible = state.possibles.pop activate_gem(reqs, activated, possible, requirement) return reqs, activated, depth, conflicts end