我試圖在Windows上安裝薄膜(紅寶石1.8.6(2007-09-24 PATCHLEVEL 111)[I386-mswin32]),但得到一個錯誤信息:問題在Windows上安裝
C:>gem install thin Building native extensions. This could take a while... ERROR: Error installing thin: ERROR: Failed to build gem native extension.
C:/rails/ruby/bin/ruby.exe extconf.rb checking for main() in c.lib... no creating Makefile
nmake
Microsoft (R) Program Maintenance Utility Version 1.50 Copyright (c) Microsoft Corp 1988-94. All rights reserved.
cl -nologo -I. -I. -IC:/rails/ruby/lib/ruby/1.8/i386-mswin32
-I. -MD -Zi -O2b2xg- -G6 -c -Tcparser.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.
Gem files will remain installed in C:/rails/ruby/lib/ruby/gems/1.8/gems/thin-1.2.5 for inspection. Results logged to C:/rails/ruby/lib/ruby/gems/1.8/gems/thin-1.2.5/ext/thin_parser/gem_make.out
谷歌似乎沒有幫助我在這裏。有人知道發生了什麼事?
謝謝