[rubygems/rubygems] Workaround for TruffleRuby that set nil
to LIBRUBY_RELATIVE
https://github.com/rubygems/rubygems/commit/06fd399973
This commit is contained in:
parent
378e65af9a
commit
57e15074fe
@ -323,10 +323,10 @@ install:
|
||||
end
|
||||
RUBY
|
||||
RbConfig::CONFIG.each do |k, v|
|
||||
f.puts %(RbConfig::CONFIG[#{k.dump}] = #{v.dump})
|
||||
f.puts %(RbConfig::CONFIG[#{k.dump}] = #{v&.dump || "nil"})
|
||||
end
|
||||
RbConfig::MAKEFILE_CONFIG.each do |k, v|
|
||||
f.puts %(RbConfig::MAKEFILE_CONFIG[#{k.dump}] = #{v.dump})
|
||||
f.puts %(RbConfig::MAKEFILE_CONFIG[#{k.dump}] = #{v&.dump || "nil"})
|
||||
end
|
||||
f.puts "RbConfig::CONFIG['host_os'] = 'fake_os'"
|
||||
f.puts "RbConfig::CONFIG['arch'] = 'fake_arch'"
|
||||
|
Loading…
x
Reference in New Issue
Block a user