aboutsummaryrefslogtreecommitdiffstats
path: root/lib/bundler.rb
diff options
context:
space:
mode:
authorschneems <richard.schneeman@gmail.com>2013-08-15 22:47:13 -0500
committerschneems <richard.schneeman@gmail.com>2013-09-28 14:16:21 -0500
commitdc7dd9a222cf45732b61604529a11483b7e91ce8 (patch)
treeb80ada07f6b58d1f3a646dd64e0c022ca39b8b53 /lib/bundler.rb
parent1f6805e60b0f655fb0b1907133f63b38778d7a44 (diff)
downloadbundler-dc7dd9a222cf45732b61604529a11483b7e91ce8.tar.gz
Retry fetch specs with `--retry`
This PR adds a general purpose Retry class that can be re-used where-ever retry code is needed! It also allows you to call `bundle install --retry 3` which will attempt to connect to ruby gems 3 times before failing, and emit a warning message each time
Diffstat (limited to 'lib/bundler.rb')
-rw-r--r--lib/bundler.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/bundler.rb b/lib/bundler.rb
index f6e75dd7..a6481cf1 100644
--- a/lib/bundler.rb
+++ b/lib/bundler.rb
@@ -33,6 +33,7 @@ module Bundler
autoload :MatchPlatform, 'bundler/match_platform'
autoload :RemoteSpecification, 'bundler/remote_specification'
autoload :Resolver, 'bundler/resolver'
+ autoload :Retry, 'bundler/retry'
autoload :RubyVersion, 'bundler/ruby_version'
autoload :RubyDsl, 'bundler/ruby_dsl'
autoload :Runtime, 'bundler/runtime'