Gem::Specification#to_ruby needs OpenSSL

This commit is contained in:
Nobuyoshi Nakada 2019-09-26 22:56:32 +09:00
parent 41e3c204fd
commit c4ec817a7a
No known key found for this signature in database
GPG Key ID: 4BC7D6DF58D8DF60

View File

@ -2423,6 +2423,7 @@ class Gem::Specification < Gem::BasicSpecification
# still have their default values are omitted.
def to_ruby
require 'openssl'
mark_version
result = []
result << "# -*- encoding: utf-8 -*-"