class Bundler::Resolver

def activate_gem(reqs, activated, requirement, current)

def activate_gem(reqs, activated, requirement, current)
  requirement.required_by.replace current.required_by
  requirement.required_by << current
  activated[requirement.name] = requirement
  debug { "  Activating: #{requirement.name} (#{requirement.version})" }
  debug { requirement.required_by.map { |d| "    * #{d.name} (#{d.requirement})" }.join("\n") }
  dependencies = requirement.activate_platform(current.__platform)
  debug { "    Dependencies"}
  dependencies.each do |dep|
    next if dep.type == :development
    dep.required_by.replace(current.required_by)
    dep.required_by << current
    @gems_size[dep] ||= gems_size(dep)
    reqs << dep
  end
end