Maintenance Ruby 3.4 gets fixes, but no new features. Switch to Ruby 4.0 →
class method
Gem.target_rbconfig
target_rbconfig
lib/rubygems.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.4.1/lib/rubygems.rb, line 408
def self.target_rbconfig
@target_rbconfig || Gem::TargetRbConfig.for_running_ruby
end
The RbConfig object for the deployment target platform.
This is usually the same as the running platform, but may be different if you are cross-compiling.