Watir 的网站说我需要 Ruby 1.8.6,我正在运行它。而且windows的安装应该像gem install watir
. 但是当我运行它时,我得到了这个:
C:\Users\Ryguy\Code>gem install watir
Building native extensions. This could take a while...
ERROR: Error installing watir:
ERROR: Failed to build gem native extension.
C:/Ruby/bin/ruby.exe extconf.rb
checking for strncpy_s()... no
creating Makefile
make
'make' is not recognized as an internal or external command,
operable program or batch file.
Gem files will remain installed in C:/Ruby/lib/ruby/gems/1.8/gems/win32-api-1.4.5 f
Results logged to C:/Ruby/lib/ruby/gems/1.8/gems/win32-api-1.4.5/ext/gem_make.out
我的 Ruby 版本: ruby 1.8.6(2009-08-04 补丁级别 383)[i386-mingw32]
我的 RubyGems 版本: 1.3.5