class Bundler::Source::Rubygems

def remotes_for_spec(spec)

def remotes_for_spec(spec)
  specs.search_all(spec.name).inject([]) do |uris, s|
    uris << s.remote if s.remote
    uris
  end
end