зеркало из https://github.com/github/ruby.git
[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:
Родитель
b84b4e8bfa
Коммит
9ad9c2d9c3
|
@ -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)
|
||||
|
|
Загрузка…
Ссылка в новой задаче