Preview Ruby 4.1 is a preview. It can change before the final release. Switch to Ruby 4.0 →
class method
Gem.target_rbconfig
target_rbconfig
lib/rubygems.rb
View on GitHub ↗
# File tmp/rubies/ruby-4.1.0-preview1/lib/rubygems.rb, line 445
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.