From f1a02ebfb9362c6d925b700ad4d24ddb3f81abd3 Mon Sep 17 00:00:00 2001 From: Yuta Saito Date: Fri, 3 Dec 2021 22:45:04 +0900 Subject: [PATCH] Install gemspec even though no .rb and no .so When building with --with-static-linked-ext, some exts without rb file doesn't produce neither .so or .rb under .ext/common. Therefore, change rbinstall.rb to install gemspec even if there is no .so or .rb for that case. --- tool/rbinstall.rb | 1 - 1 file changed, 1 deletion(-) diff --git a/tool/rbinstall.rb b/tool/rbinstall.rb index 852ff8f698..c8557a0e48 100755 --- a/tool/rbinstall.rb +++ b/tool/rbinstall.rb @@ -966,7 +966,6 @@ def install_default_gem(dir, srcdir, bindir) spec = load_gemspec(src) file_collector = RbInstall::Specs::FileCollector.new(src) files = file_collector.collect - next if files.empty? spec.files = files spec }