From: Luis Lavena Date: 2010-04-14T05:00:53+09:00 Subject: Re: Gem help On Apr 13, 3:58 pm, H- 16 wrote: > I'm trying to DL a gem but I keep getting this message: > > > > > > >E:\Ruby\bin>cmd /k "F:\Torque Game Engine Demo\System\Hack\Ruby\bin\gem.bat" > >The system cannot find the drive specified. > > >E:\Ruby\bin>gem i narray > >Building native extensions.  This could take a while... > >ERROR:  Error installing narray: > >        ERROR: Failed to build gem native extension. > > >E:/Ruby/bin/ruby.exe extconf.rb > >checking for sys/types.h... no > >checking for u_int8_t... no > >checking for int16_t... no > >checking for int32_t... no > >checking for u_int32_t... no > >creating narray_config.h > >creating Makefile > > >nmake > >'nmake' is not recognized as an internal or external command, > >operable program or batch file. > > >Gem files will remain installed in E:/Ruby/lib/ruby/gems/1.8/gems/narray->0.5.9.7 > > for inspection. > >Results logged to E:/Ruby/lib/ruby/gems/1.8/gems/narray->0.5.9.7/src/gem_make.out > > >E:\Ruby\bin> > > Does anyone know how to solve this? Btw, > > >E:\Ruby\bin>cmd /k "F:\Torque Game Engine Demo\System\Hack\Ruby\bin\gem.bat" > >The system cannot find the drive specified. > 1) Avoid path with spaces 2) Add Ruby\bin directory to your path: SET PATH=%PATH%;C:\Ruby\bin 3) proceed to gem installation with verbose and debug modes: gem install xxx --debug -V -- Luis Lavena