class Bundler::Source::Rubygems

def replace_remotes(other_remotes)

def replace_remotes(other_remotes)
  return false if other_remotes == @remotes
  @remotes = []
  other_remotes.reverse_each do |r|
    add_remote r.to_s
  end
end