diff options
Diffstat (limited to 'lib/bundler/vendored_persistent.rb')
-rw-r--r-- | lib/bundler/vendored_persistent.rb | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/lib/bundler/vendored_persistent.rb b/lib/bundler/vendored_persistent.rb new file mode 100644 index 0000000000..729ac6b6f5 --- /dev/null +++ b/lib/bundler/vendored_persistent.rb @@ -0,0 +1,17 @@ +# 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 + module HTTP + end + end + end +end +require "bundler/vendor/net-http-persistent/lib/net/http/persistent" |