mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
[rubygems/rubygems] Let the original error happen
It will give more useful information.
efcecb5af5
This commit is contained in:
parent
b84b4e8bfa
commit
9ad9c2d9c3
Notes:
git
2020-07-31 21:08:19 +09:00
1 changed files with 0 additions and 6 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue