[rubygems/rubygems] No need to change RbConfig::CONFIG at all

Only `RbConfig::MAKEFILE_CONFIG` is actually used.

https://github.com/rubygems/rubygems/commit/b767cc0929
This commit is contained in:
David Rodríguez 2022-06-14 15:26:08 +02:00 committed by git
parent b6c1e1158d
commit 5a385677f3

View File

@ -28,7 +28,6 @@ class Gem::Ext::ExtConfBuilder < Gem::Ext::Builder
siteconf.puts "dest_path = #{tmp_dest_relative.dump}"
%w[sitearchdir sitelibdir].each do |dir|
siteconf.puts "RbConfig::MAKEFILE_CONFIG['#{dir}'] = dest_path"
siteconf.puts "RbConfig::CONFIG['#{dir}'] = dest_path"
end
siteconf.close