ruby-changes:62467
From: David <ko1@a...>
Date: Fri, 31 Jul 2020 21:08:37 +0900 (JST)
Subject: [ruby-changes:62467] 9ad9c2d9c3 (master): [rubygems/rubygems] Let the original error happen
https://git.ruby-lang.org/ruby.git/commit/?id=9ad9c2d9c3 From 9ad9c2d9c33d9a135c99dbd15595ff697318c5d8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Rodr=C3=ADguez?= <deivid.rodriguez@r...> Date: Sat, 11 Jul 2020 12:19:51 +0200 Subject: [rubygems/rubygems] Let the original error happen It will give more useful information. https://github.com/rubygems/rubygems/commit/efcecb5af5 diff --git a/lib/rubygems/request.rb b/lib/rubygems/request.rb index 18bd4eb..d07c60d 100644 --- a/lib/rubygems/request.rb +++ b/lib/rubygems/request.rb @@ -77,12 +77,6 @@ class Gem::Request https://github.com/ruby/ruby/blob/trunk/lib/rubygems/request.rb#L77 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) -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/