in gems/aws-crt/lib/aws-crt/platforms.rb [51:63]
def host_os case RbConfig::CONFIG['host_os'] when /darwin/ 'darwin' when /linux/ 'linux' when /mingw|mswin/ 'mingw32' else RbConfig::CONFIG['host_os'] end end