summaryrefslogtreecommitdiff
path: root/lib/bundler/fetcher.rb
diff options
context:
space:
mode:
authorAllen Zhao <cnallenzhao@gmail.com>2016-06-10 21:16:57 +0800
committerAllen Zhao <cnallenzhao@gmail.com>2016-06-10 21:16:57 +0800
commit6c128fd222bc87033f58e31df4efed14c147d43e (patch)
treebd227b814c95dac1d1aabc885f348867bc8ddb77 /lib/bundler/fetcher.rb
parent76e6a9d74d2ba925b60712d3a7b33aef23be9fbc (diff)
downloadbundler-6c128fd222bc87033f58e31df4efed14c147d43e.tar.gz
Fail gracefully on Errno::EHOSTUNREACH
Diffstat (limited to 'lib/bundler/fetcher.rb')
-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 fb9a407791..19611b1725 100644
--- a/lib/bundler/fetcher.rb
+++ b/lib/bundler/fetcher.rb
@@ -269,7 +269,7 @@ module Bundler
Timeout::Error, EOFError, SocketError, Errno::ENETDOWN, Errno::ENETUNREACH,
Errno::EINVAL, Errno::ECONNRESET, Errno::ETIMEDOUT, Errno::EAGAIN,
Net::HTTPBadResponse, Net::HTTPHeaderSyntaxError, Net::ProtocolError,
- Net::HTTP::Persistent::Error, Zlib::BufError
+ Net::HTTP::Persistent::Error, Zlib::BufError, Errno::EHOSTUNREACH
].freeze
def bundler_cert_store