diff options
author | David RodrÃguez <deivid.rodriguez@riseup.net> | 2020-07-11 11:16:19 +0200 |
---|---|---|
committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2020-07-31 21:07:19 +0900 |
commit | 6eb89f8637bbe1255b506d9ff447529b82169597 (patch) | |
tree | a51d49ab02b0effb99c3bf2969623d4503bb6cbd /lib/bundler | |
parent | ea8f7d4a81fa9e1696930c63b106cc91be14c29d (diff) | |
download | ruby-6eb89f8637bbe1255b506d9ff447529b82169597.tar.gz |
[rubygems/rubygems] Remove now unneeded code
We patch `net-http-persistent` to not autoload `openssl`.
https://github.com/rubygems/rubygems/commit/757dec3cf2
Diffstat (limited to 'lib/bundler')
-rw-r--r-- | lib/bundler/vendored_persistent.rb | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/lib/bundler/vendored_persistent.rb b/lib/bundler/vendored_persistent.rb index 045a761dac..dc9573e025 100644 --- a/lib/bundler/vendored_persistent.rb +++ b/lib/bundler/vendored_persistent.rb @@ -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 |