From: Luis Lavena Date: 2009-07-20T23:50:48+09:00 Subject: [ruby-core:24457] Re: Meaning of RUBY_PLATFORM On Mon, Jul 20, 2009 at 11:44 AM, Roger Pack wrote: >> but not quite. �Maybe I should submit a patch to gems like >> Gem::Platform.local.os -> ['windows'] etc. > > Found out there's > > Gem.win_platform? > => true > On Cygwin, Gem.win_platform? returns true, but Cygwin emulates a POSIX layer on top of Windows. Please use with precaution and double-check prior assuming you're 100% on Windows ;-) -- Luis Lavena AREA 17 - Perfection in design is achieved not when there is nothing more to add, but rather when there is nothing more to take away. Antoine de Saint-Exup�ry