WATIR 安装 Server 2003 失败
我必须重建我的盒子,目前无法安装 Watir。
gem 安装 watir
错误:安装 watir 时出错:
activesupport 需要 Ruby 版本 >= 1.8.7。
如果 Watir 能够使用 Ruby 1.8.7 那就太好了。我正在使用
红宝石-v
ruby 1.8.6(2008-08-11 补丁级别 287)[i386-mswin32]
宝石-v
1.3.7
我不确定这种情况是什么时候开始发生的,但网站上缺乏文档。
I had to rebuild my box and I currently am unable to install Watir.
gem install watir
ERROR: Error installing watir:
activesupport requires Ruby version >= 1.8.7.
Which would be fine if Watir was able to use Ruby 1.8.7 . I am using
ruby -v
ruby 1.8.6 (2008-08-11 patchlevel 287) [i386-mswin32]
gem -v
1.3.7
I am not sure when this started to occur, but the documentation on the site is lacking.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
在 Windows XP(专业版,版本 2002,Service Pack 3,完全路径化)上,我安装了 ruby186-26.exe 来自 RubyForge,如 < a href="http://watir.com/installation/" rel="nofollow noreferrer">watir.com/installation。
自动 RubyGems 更新不起作用:
我已下载 rubygems-update-1.3.7.gem来自 RubyForge,将其复制到我打开命令提示符的文件夹(
C :\
在此示例中)并安装:为了确保我拥有最新的 RubyGems:
现在 Watir 不想安装:
我已将 activesupport-2.3.8 安装为 Charley Baker 建议,我能够安装 Watir:
On Windows XP (Professional, Version 2002, Service Pack 3, fully pathched) I have installed ruby186-26.exe from RubyForge, as suggested at watir.com/installation.
Automatic RubyGems update did not work:
I have downloaded rubygems-update-1.3.7.gem from RubyForge, copied it to the folder where I have command prompt open (
C:\
in this example) and installed:To make sure I have the latest RubyGems:
Now Watir did not want to install:
I have installed activesupport-2.3.8 as suggested by Charley Baker, and I was able to install Watir:
我刚才遇到了类似的问题,我想对此问题添加评论。我们的开发虚拟机当前运行的是 Windows 7,因此我需要以管理员身份运行命令提示符,以便 gem 安装正常工作。
I had a similar issue just now and thought I would add a comment to this issue. Our dev vm's are currently running windows 7, therefore I needed to run my command prompt as administrator for the gem installation to work correctly.