From: James Edward Gray II Date: 2007-02-14T05:24:50+09:00 Subject: Re: Checking the name of the host Operating System On Feb 13, 2007, at 2:07 PM, Sonny Chee wrote: > Hey Guys, > > Anyone know how I can determine the name of the host operating system > from within Ruby? Sure: >> RUBY_PLATFORM => "i686-darwin8.8.1" >> require "rbconfig" => false >> Config::CONFIG["target"] => "i686-apple-darwin8.8.1" >> Config::CONFIG["arch"] => "i686-darwin8.8.1" >> Config::CONFIG["target_os"] => "darwin8.8.1" Hope that helps. James Edward Gray II