summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndre Arko <andre@arko.net>2015-12-28 17:24:29 +0800
committerSamuel Giddins <segiddins@segiddins.me>2016-01-25 10:49:51 -0600
commit3b06cf37ddf836b3535b86e51357519d704fcf7f (patch)
tree30a7e09cbe96a6c1b2e1750c86caa4aab376261d
parent59318cfef6e68178fa9b070ba9d4b6fcc5c2288c (diff)
downloadbundler-3b06cf37ddf836b3535b86e51357519d704fcf7f.tar.gz
ArgumentErrors are not really retriable
-rw-r--r--lib/bundler/fetcher.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bundler/fetcher.rb b/lib/bundler/fetcher.rb
index ccb9abe036..2511b964d6 100644
--- a/lib/bundler/fetcher.rb
+++ b/lib/bundler/fetcher.rb
@@ -53,7 +53,7 @@ module Bundler
# Exceptions classes that should bypass retry attempts. If your password didn't work the
# first time, it's not going to the third time.
- FAIL_ERRORS = [AuthenticationRequiredError, BadAuthenticationError, FallbackError, Gem::Requirement::BadRequirementError]
+ FAIL_ERRORS = [AuthenticationRequiredError, BadAuthenticationError, FallbackError]
NET_ERRORS = [:HTTPBadGateway, :HTTPBadRequest, :HTTPFailedDependency,
:HTTPForbidden, :HTTPInsufficientStorage, :HTTPMethodNotAllowed,
:HTTPMovedPermanently, :HTTPNoContent, :HTTPNotFound,