From: Roger Pack Date: 2007-11-14T04:24:18+09:00 Subject: Re: mingw rename > I think the wide too many differences between *nix and Windows turn > the cross-platform issue into something big and unmanageable. > if RUBY_PLATFORM =~ /djgpp|(cyg|ms|bcc)win|mingw/ > # do windows specific stuff > else > # to *nix stuff > end Right--this regex reminds me of perl somehow... I was advocating that 'windows based' compilers should all have the word 'win' in their name somewhere, for convenience. Just my $0.02 if RUBY_PLATFORM =~ /win/ print 'windows' end -Roger