diff options
author | David RodrÃguez <deivid.rodriguez@riseup.net> | 2020-07-11 12:19:51 +0200 |
---|---|---|
committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2020-07-31 21:07:19 +0900 |
commit | 9ad9c2d9c33d9a135c99dbd15595ff697318c5d8 (patch) | |
tree | 1c7f7a305d28fb4e03a14ff210eca9fe714575ea | |
parent | b84b4e8bfac71842f795985bea814575f0a1eccb (diff) |
[rubygems/rubygems] Let the original error happen
It will give more useful information.
https://github.com/rubygems/rubygems/commit/efcecb5af5
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/3379
-rw-r--r-- | lib/rubygems/request.rb | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/lib/rubygems/request.rb b/lib/rubygems/request.rb index 18bd4eb564..d07c60d344 100644 --- a/lib/rubygems/request.rb +++ b/lib/rubygems/request.rb @@ -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) |