mirror of
https://github.com/ruby/ruby.git
synced 2025-08-25 22:14:37 +02:00
parent
7e1788e180
commit
d5288c8aad
1 changed files with 1 additions and 3 deletions
|
@ -157,9 +157,7 @@ module Bundler
|
||||||
# by rubygems.org are broken and wrong.
|
# by rubygems.org are broken and wrong.
|
||||||
if spec.remote
|
if spec.remote
|
||||||
# Check for this spec from other sources
|
# Check for this spec from other sources
|
||||||
uris = [spec.remote.anonymized_uri]
|
uris = [spec.remote, *remotes_for_spec(spec)].map(&:anonymized_uri).uniq
|
||||||
uris += remotes_for_spec(spec).map(&:anonymized_uri)
|
|
||||||
uris.uniq!
|
|
||||||
Installer.ambiguous_gems << [spec.name, *uris] if uris.length > 1
|
Installer.ambiguous_gems << [spec.name, *uris] if uris.length > 1
|
||||||
|
|
||||||
path = fetch_gem(spec, options[:previous_spec])
|
path = fetch_gem(spec, options[:previous_spec])
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue