From: Luis Lavena Date: 2011-06-17T05:50:28+09:00 Subject: Re: win32-service gem On Jun 16, 5:39 pm, Daniel Stephens wrote: > [Note:  parts of this message were removed to make it a legal post.] > > Hey all, has anyone been able to use win32-service-0.7.0.gem. when I try to > install the gem it fails wanting nmake. I got that setup on my box, and now > I get the below. I don't know what it wants. Any ideas? > > OS - Windows XP > Ruby Version - ruby 1.8.6 (2008-08-11 patchlevel 287) [i386-mswin32] > > C:/Ruby/bin/ruby.exe extconf.rb install win32-service > checking for strncpy_s()... no > creating Makefile > > nmake > > Microsoft (R) Program Maintenance Utility   Version 1.50 > Copyright (c) Microsoft Corp 1988-94. All rights reserved. > >         C:\Ruby\bin\ruby -e "puts 'EXPORTS', 'Init_api'"  > > api-i386-mswin32.def >         cl -nologo -I. -I. -IC:/Ruby/lib/ruby/1.8/i386-mswin32 -I. -MD -Zi > -O2b2xg- -G6  -c -Tcwin32/api.c > 'cl' is not recognized as an internal or external command, > operable program or batch file. > NMAKE : fatal error U1077: 'C:\WINDOWS\system32\cmd.exe' : return code '0x1' > Stop. Seems your version of Ruby was build with Visual Studio, you need Visual Studio installed to be able to compile gems (which is the case for win32-api one) -- Luis Lavena