From 5fc86bee6eb7f404c5b5b5e2ef34ec89aab901bc Mon Sep 17 00:00:00 2001 From: Lars Kanis Date: Wed, 26 Jul 2017 18:02:05 +0200 Subject: [PATCH] Add msys2 library dependency tag in gem metadata RubyInstaller2 supports metadata tags for installation of dependent MSYS2/MINGW libraries. The openssl gem requires the mingw-openssl package to be installed on the system, which the gem installer takes care about, when this tag is set. The feature is documented here: https://github.com/oneclick/rubyinstaller2/wiki/For-gem-developers#msys2-library-dependency This fixes issues like https://github.com/oneclick/rubyinstaller2/issues/54 and https://github.com/oneclick/rubyinstaller2/issues/53 . --- openssl.gemspec | 2 ++ 1 file changed, 2 insertions(+) diff --git a/openssl.gemspec b/openssl.gemspec index 821b6c7f1..c698be429 100644 --- a/openssl.gemspec +++ b/openssl.gemspec @@ -21,4 +21,6 @@ Gem::Specification.new do |spec| spec.add_development_dependency "rake-compiler" spec.add_development_dependency "test-unit", "~> 3.0" spec.add_development_dependency "rdoc" + + spec.metadata['msys2_mingw_dependencies'] = 'openssl' end