A lot of useful information can be found in the 1 RbConfig::Config hash. For example, the host os: [2] pry(main)> RbConfig::CONFIG['host_os'] => "darwin15.4.0"