From 95bf9049a71e4e6fbaea9709df4257e21675d94f Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Mon, 8 Jul 2024 14:08:39 +0900 Subject: Load OpenSSL on TestOpenURIUtils for with_https --- test/open-uri/utils.rb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/open-uri/utils.rb b/test/open-uri/utils.rb index 3a79a32ea1..80d3f2b219 100644 --- a/test/open-uri/utils.rb +++ b/test/open-uri/utils.rb @@ -1,4 +1,8 @@ require 'socket' +begin + require 'openssl' +rescue LoadError +end class SimpleHTTPServer def initialize(bind_addr, port, log) -- cgit v1.2.3