Skip to content

Maintenance Ruby 3.4 gets fixes, but no new features. Switch to Ruby 4.0 →

class method

Gem.target_rbconfig

target_rbconfig

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.