[Rubygems-developers] Revision 2142, checking for nmake

Berger, Daniel Daniel.Berger at qwest.com
Mon Apr 6 17:54:46 EDT 2009


 

> -----Original Message-----
> From: rubygems-developers-bounces at rubyforge.org 
> [mailto:rubygems-developers-bounces at 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?

Regards,

Dan


More information about the Rubygems-developers mailing list