class Bundler::LockfileGenerator

def add_dependencies

def add_dependencies
  out << "\nDEPENDENCIES\n"
  handled = []
  definition.dependencies.sort_by(&:to_s).each do |dep|
    next if handled.include?(dep.name)
    out << dep.to_lock << "\n"
    handled << dep.name
  end
end