From e345970707fd0541e79ee093a613c8439718c852 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Wed, 19 Jun 2024 20:51:47 +0900 Subject: [rubygems/rubygems] Revert "Workaround for TruffleRuby that set `nil` to LIBRUBY_RELATIVE" This reverts commit https://github.com/rubygems/rubygems/commit/06fd39997348, for a bug that is fixed by https://github.com/rubygems/rubygems/commit/0148cce153a5. https://github.com/rubygems/rubygems/commit/907e51e521 --- test/rubygems/test_gem_ext_builder.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/rubygems/test_gem_ext_builder.rb b/test/rubygems/test_gem_ext_builder.rb index aa97a2028b..76579b8720 100644 --- a/test/rubygems/test_gem_ext_builder.rb +++ b/test/rubygems/test_gem_ext_builder.rb @@ -323,10 +323,10 @@ install: end RUBY RbConfig::CONFIG.each do |k, v| - f.puts %(RbConfig::CONFIG[#{k.dump}] = #{v&.dump || "nil"}) + f.puts %(RbConfig::CONFIG[#{k.dump}] = #{v.dump}) end RbConfig::MAKEFILE_CONFIG.each do |k, v| - f.puts %(RbConfig::MAKEFILE_CONFIG[#{k.dump}] = #{v&.dump || "nil"}) + f.puts %(RbConfig::MAKEFILE_CONFIG[#{k.dump}] = #{v.dump}) end f.puts "RbConfig::CONFIG['host_os'] = 'fake_os'" f.puts "RbConfig::CONFIG['arch'] = 'fake_arch'" -- cgit v1.2.3