mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
[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:
parent
ea8f7d4a81
commit
6eb89f8637
Notes:
git
2020-07-31 21:08:14 +09:00
1 changed files with 0 additions and 7 deletions
|
@ -1,12 +1,5 @@
|
||||||
# frozen_string_literal: true
|
# 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 Bundler
|
||||||
module Persistent
|
module Persistent
|
||||||
module Net
|
module Net
|
||||||
|
|
Loading…
Add table
Reference in a new issue