From: Intransition Date: 2010-01-16T08:24:48+09:00 Subject: Re: Foolproof way of determining host platform Other options: require 'rubygems' Gem::Platform.local Shameless ripoff with some minor improvements: require 'facets/platform' Platform.local The OS gem looks promising. My question is why isn't something like this a standard part of Ruby?