From 6eb89f8637bbe1255b506d9ff447529b82169597 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Rodr=C3=ADguez?= Date: Sat, 11 Jul 2020 11:16:19 +0200 Subject: [PATCH] [rubygems/rubygems] Remove now unneeded code We patch `net-http-persistent` to not autoload `openssl`. https://github.com/rubygems/rubygems/commit/757dec3cf2 --- lib/bundler/vendored_persistent.rb | 7 ------- 1 file changed, 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