From: Kent Sibilev Date: 2004-12-03T01:12:34+09:00 Subject: Re: figuring out what platform i'm on $ irb irb(main):001:0> RUBY_PLATFORM => "powerpc-darwin7.6.0" irb(main):002:0> Cheers, Kent. On Dec 2, 2004, at 10:44 AM, aslak hellesoy wrote: > Can anyone tell me how I can figure out from Ruby what platform I'm > running on? My Ruby program needs to know whether it's running on > linux, cygwin, windows etc... > > Aslak >