зеркало из https://github.com/github/ruby.git
[rubygems/rubygems] Remove now unneeded code
We patch `net-http-persistent` to not autoload `openssl`. https://github.com/rubygems/rubygems/commit/757dec3cf2
This commit is contained in:
Родитель
ea8f7d4a81
Коммит
6eb89f8637
|
@ -1,12 +1,5 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
# We forcibly require OpenSSL, because net/http/persistent will only autoload
|
||||
# it. On some Rubies, autoload fails but explicit require succeeds.
|
||||
begin
|
||||
require "openssl"
|
||||
rescue LoadError
|
||||
# some Ruby builds don't have OpenSSL
|
||||
end
|
||||
module Bundler
|
||||
module Persistent
|
||||
module Net
|
||||
|
|
Загрузка…
Ссылка в новой задаче