This method is only available on newer versions.
The first available version (v2_6_3) is shown here.
specs_with_retry(gem_names, source)
public
return the specs in the bundler
format as an index with retries
# File lib/bundler/fetcher.rb, line 111
def specs_with_retry(gem_names, source)
Bundler::Retry.new("fetcher", FAIL_ERRORS).attempts do
specs(gem_names, source)
end
end