diff options
author | Allen Zhao <cnallenzhao@gmail.com> | 2016-06-10 21:16:57 +0800 |
---|---|---|
committer | Allen Zhao <cnallenzhao@gmail.com> | 2016-06-10 21:16:57 +0800 |
commit | 6c128fd222bc87033f58e31df4efed14c147d43e (patch) | |
tree | bd227b814c95dac1d1aabc885f348867bc8ddb77 /lib/bundler/fetcher.rb | |
parent | 76e6a9d74d2ba925b60712d3a7b33aef23be9fbc (diff) | |
download | bundler-6c128fd222bc87033f58e31df4efed14c147d43e.tar.gz |
Fail gracefully on Errno::EHOSTUNREACH
Diffstat (limited to 'lib/bundler/fetcher.rb')
-rw-r--r-- | lib/bundler/fetcher.rb | 2 |
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 |