class method
Gem.set_target_rbconfig
set_target_rbconfig(rbconfig_path)
lib/rubygems.rb
View on GitHub ↗
# File tmp/rubies/ruby-4.0.0/lib/rubygems.rb, line 444
def self.set_target_rbconfig(rbconfig_path)
@target_rbconfig = Gem::TargetRbConfig.from_path(rbconfig_path)
Gem::Platform.local(refresh: true)
Gem.platforms << Gem::Platform.local unless Gem.platforms.include? Gem::Platform.local
@target_rbconfig
end
No documentation available