On Mon, Apr 6, 2009 at 6:54 PM, Berger, Daniel <daniel.ber...@qwest.com> wrote: > > >> -----Original Message----- >> From: rubygems-developers-boun...@rubyforge.org >> [mailto:rubygems-developers-boun...@rubyforge.org] On Behalf >> Of Luis Lavena >> Sent: Monday, April 06, 2009 3:02 PM >> To: RubyGems Developers (ML) >> Subject: [Rubygems-developers] Revision 2142, checking for nmake >> >> Hey Guys, >> >> While the change implemented in revision 2142 may sounds good >> in theory, is incorrect. >> >> I'm running all the tests of RubyGems and other using MinGW, not >> VC6/8/9 build of Ruby. >> >> Because of that, I don't have nmake but make instead. >> >> Skipping those test due the availability of the compiler >> toolset need to take those in consideration. >> >> Keep in mind that win_platform? will return true if your >> platform is one of the Gem::WIN_PLATFORMS: >> >> ## >> # An Array of Regexps that match windows ruby platforms. >> >> WIN_PATTERNS = [ >> /bccwin/i, >> /cygwin/i, >> /djgpp/i, >> /mingw/i, >> /mswin/i, >> /wince/i, >> ] >> >> >> Which consider bccwin (no nmake over there), cygwin (uses >> make), djgpp (who cares about DOS anymore), and wince (which >> should be VS based one). > > Should I just stick to RUBY_PLATFORM.match('mswin') then? >
RUBY_PLATFORM =~ /mswin/ Cheers, -- 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 _______________________________________________ Rubygems-developers mailing list http://rubyforge.org/projects/rubygems Rubygems-developers@rubyforge.org http://rubyforge.org/mailman/listinfo/rubygems-developers