Maintenance Ruby 3.4 gets fixes, but no new features. Switch to Ruby 4.0 →
class method
Gem.set_target_rbconfig
set_target_rbconfig(rbconfig_path)
lib/rubygems.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.4.1/lib/rubygems.rb, line 412
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