我试图在Windows中安装calabash-cucumber和calabash-android最近3天.我也在环境中设置了ruby路径变量.但我得到以下错误..
C:\>gem install cucumber
错误如下,
ERROR: Could not find a valid gem 'cucumber' (>= 0) in any repository
Run Code Online (Sandbox Code Playgroud)
错误:执行gem时...(Gem :: RemoteFetcher :: FetchError)Errno :: ETIMEDOUT:连接尝试失败,因为连接方在一段时间后没有正确响应,或者由于连接主机发生故障而建立连接失败回复.- connect(2)(http://rubygems.org/ latest_specs.4.8.gz)
C:\>gem install calabash-android
Run Code Online (Sandbox Code Playgroud)
错误如下,
ERROR: Could not find a valid gem 'calabash-android' (>= 0) in any repository
Run Code Online (Sandbox Code Playgroud)
错误:执行gem时...(Gem :: RemoteFetcher :: FetchError)Errno :: ETIMEDOUT:连接尝试失败,因为连接方在一段时间后没有正确响应,或者由于连接主机发生故障而建立连接失败回复.- connect(2)(http://rubygems.org/ latest_specs.4.8.gz)
我是葫芦移动自动化测试的新手.请任何人帮助解决此问题.我急切地想学习calabash移动自动化工具.谢谢你提前..
Str*_*ton 10
这些是我采取的步骤,我成功地可以使用Windows 7,64位在Android设备上运行calabash测试:
安装Ant(1.9)
http://ant.apache.org/
安装Ruby
http://rubyinstaller.org/
安装1.9.3版本(不是2.0.0或更高版本).
安装Ruby DevKit
http://rubyinstaller.org/downloads
https://github.com/oneclick/rubyinstaller/wiki/Development-Kit
安装Calabash
https://github.com/calabash/calabash-android/blob/master/documentation/installation.md
确保PATH设置正确.请务必按照上述网页上的说明进行操作.
也许您的互联网连接或远程服务器暂时关闭,但一切都应该工作.
| 归档时间: |
|
| 查看次数: |
11064 次 |
| 最近记录: |