|
根据在网上找到的教程安装ruby & watir ,我下载的是最新的ruby,版本显示是1.9.2p0 ,gem版本是1.3.7
输入gem升级命令,显示是没有需要升级的内容,然后输入命令gem install watir执行,前面都是成功信息,后面突然报错,信息如下:
Installing RDoc documentation for firewatir-1.6.5...
ERROR: While generating documentation for firewatir-1.6.5
... MESSAGE: Error while evaluating C:/Ruby192/lib/ruby/1.9.1/rdoc/generator/t
emplate/darkfish/classpage.rhtml: undefined method `gsub' for nil:NilClass (at "
\"method-source-code\"\n\t\t\t\t\t\tid=\"all-source\">\n<pre>\n")
... RDOC args: def_wrap=R,def_wrap_guard=R,def_creator=R,def_creator_with_defaul
t=R lib
(continuing with the rest of the installation)
Installing RDoc documentation for nokogiri-1.4.3.1-x86-mingw32...
Installing RDoc documentation for watir-1.6.5...
我个人实在找不到办法解决,求教是否有人知道如何解决 |
|