diff options
Diffstat (limited to 'lib/rubygems/openssl.rb')
-rw-r--r-- | lib/rubygems/openssl.rb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/rubygems/openssl.rb b/lib/rubygems/openssl.rb new file mode 100644 index 0000000000..39ef91e888 --- /dev/null +++ b/lib/rubygems/openssl.rb @@ -0,0 +1,7 @@ +# frozen_string_literal: true + +begin + require "openssl" +rescue LoadError => e + raise unless e.path == 'openssl' +end |