1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

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.
This commit is contained in:
Yuta Saito 2021-12-03 22:45:04 +09:00 committed by Yusuke Endoh
parent 332d1e52e6
commit f1a02ebfb9
Notes: git 2021-12-16 16:18:00 +09:00

View file

@ -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
}