From: Brad Tilley Date: 2006-10-31T06:24:35+09:00 Subject: Re: Easiest way to determine OS? Wes Gamble wrote: > What's the easiest way to figure out if you are on a Windows vs. UNIX > platform in Ruby from within a Ruby program? Try this: irb(main):005:0> puts RUBY_PLATFORM powerpc-darwin8.0 -- Posted via http://www.ruby-forum.com/.