我正在尝试安装一个红宝石宝石。我收到这个错误。
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 gems 应该可以解决问题,但它没有。
我有 ruby gems 1.2.0 和 ruby 1.8.6 (2007-09-24 patchlevel 111) [i386-mswin32],Windows 2003。