diff options
-rw-r--r-- | lib/bundler/fetcher.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/bundler/fetcher.rb b/lib/bundler/fetcher.rb index f6aadf8b4f..f44a2b4b64 100644 --- a/lib/bundler/fetcher.rb +++ b/lib/bundler/fetcher.rb @@ -116,6 +116,7 @@ module Bundler specs = fetchers.last.specs(gem_names) else specs = [] + fetchers.shift until fetchers.first.available? || fetchers.empty? fetchers.dup.each do |f| break unless f.api_fetcher? && !gem_names || !specs = f.specs(gem_names) fetchers.delete(f) |