[rubygems/rubygems] Let the original error happen
It will give more useful information. https://github.com/rubygems/rubygems/commit/efcecb5af5
This commit is contained in:
parent
b84b4e8bfa
commit
9ad9c2d9c3
Notes:
git
2020-07-31 21:08:19 +09:00
@ -77,12 +77,6 @@ class Gem::Request
|
||||
end
|
||||
|
||||
connection
|
||||
rescue LoadError => e
|
||||
raise unless (e.respond_to?(:path) && e.path == 'openssl') ||
|
||||
e.message =~ / -- openssl$/
|
||||
|
||||
raise Gem::Exception.new(
|
||||
'Unable to require openssl, install OpenSSL and rebuild Ruby (preferred) or use non-HTTPS sources')
|
||||
end
|
||||
|
||||
def self.verify_certificate(store_context)
|
||||
|
Loading…
x
Reference in New Issue
Block a user