[Rubygems-developers] Revision 2142, checking for nmake

Luis Lavena luislavena at gmail.com
Mon Apr 6 17:02:14 EDT 2009


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).

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


More information about the Rubygems-developers mailing list