class Bundler::Index

def <<(spec)

def <<(spec)
  arr = @specs[spec.name]
  arr.delete_if do |s|
    s.version == spec.version && s.platform == spec.platform
  end
  arr << spec
  spec
end