ruby-changes:70255
From: Yuta <ko1@a...>
Date: Thu, 16 Dec 2021 16:17:52 +0900 (JST)
Subject: [ruby-changes:70255] f1a02ebfb9 (master): Install gemspec even though no .rb and no .so
https://git.ruby-lang.org/ruby.git/commit/?id=f1a02ebfb9 From f1a02ebfb9362c6d925b700ad4d24ddb3f81abd3 Mon Sep 17 00:00:00 2001 From: Yuta Saito <kateinoigakukun@g...> Date: Fri, 3 Dec 2021 22:45:04 +0900 Subject: 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 852ff8f6983..c8557a0e48f 100755 --- a/tool/rbinstall.rb +++ b/tool/rbinstall.rb @@ -966,7 +966,6 @@ def install_default_gem(dir, srcdir, bindir) https://github.com/ruby/ruby/blob/trunk/tool/rbinstall.rb#L966 spec = load_gemspec(src) file_collector = RbInstall::Specs::FileCollector.new(src) files = file_collector.collect - next if files.empty? spec.files = files spec } -- cgit v1.2.1 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/