我試圖安裝一個紅寶石的寶石。我收到這個錯誤。錯誤而安裝紅寶石寶石
C:\>gem install racc
Building native extensions. This could take a while...
ERROR: Error installing racc:
ERROR: Failed to build gem native extension.
c:/ruby/bin/ruby.exe extconf.rb install racc
extconf.rb:3:in ``': No such file or directory - uname -p (Errno::ENOENT)
from extconf.rb:3
Gem files will remain installed in c:/ruby/lib/ruby/gems/1.8/gems/racc-1.4.6 for inspection.
Results logged to c:/ruby/lib/ruby/gems/1.8/gems/racc-1.4.6/ext/racc/cparse/gem_make.out
我已經搜索過此網站,但沒有發現任何關於它的信息。我也搜索了一下,發現只有更新ruby寶石才能解決問題,但事實並非如此。
我有紅寶石寶石1.2.0和1.8.6紅寶石(2007-09-24 PATCHLEVEL 111)[I386-mswin32],視窗2003
「uname -p」是您系統上的有效命令嗎? – Inshallah 2009-07-16 10:13:23
不,看起來像是unix命令。 http://en.wikipedia.org/wiki/Uname – 2009-07-16 10:57:16