diff options
author | hsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-12-03 12:01:26 +0000 |
---|---|---|
committer | hsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-12-03 12:01:26 +0000 |
commit | edbac1b986d6cbacf191bd1fde15e5de801a4935 (patch) | |
tree | b952553e80708913adc8118de872336549737094 /lib/rubygems | |
parent | 33eebfd30132304244f35407daec37c4ba77a870 (diff) | |
download | ruby-edbac1b986d6cbacf191bd1fde15e5de801a4935.tar.gz |
Fixed test fails against OpenSSL 1.1.1.
* https://rubyci.org/logs/rubyci.s3.amazonaws.com/ubuntu/ruby-trunk/log/20181203T093003Z.fail.html.gz
* https://rubyci.org/logs/rubyci.s3.amazonaws.com/arch/ruby-trunk/log/20181203T090002Z.fail.html.gz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66163 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/rubygems')
-rw-r--r-- | lib/rubygems/remote_fetcher.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rubygems/remote_fetcher.rb b/lib/rubygems/remote_fetcher.rb index 446bed3c72..639ea3c19d 100644 --- a/lib/rubygems/remote_fetcher.rb +++ b/lib/rubygems/remote_fetcher.rb @@ -274,7 +274,7 @@ class Gem::RemoteFetcher raise rescue Timeout::Error raise UnknownHostError.new('timed out', uri.to_s) - rescue IOError, SocketError, SystemCallError => e + rescue IOError, SocketError, SystemCallError, OpenSSL::SSL::SSLError => e if e.message =~ /getaddrinfo/ raise UnknownHostError.new('no such name', uri.to_s) else |