Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to install calabash in windows?

I was trying to install calabash-cucumber and calabash-android in windows for last 3 days.I have set ruby path variable in environment also. But i'm getting below error..

C:\>gem install cucumber error likes below,

ERROR:  Could not find a valid gem 'cucumber' (>= 0) in any repository

ERROR: While executing gem ... (Gem::RemoteFetcher::FetchError) Errno::ETIMEDOUT: A connection attempt failed because the connected party di d not properly respond after a period of time, or established connection failed because connected host has failed to respond. - connect(2) (http://rubygems.org/ latest_specs.4.8.gz)

C:\>gem install calabash-android

Error likes below,

ERROR:  Could not find a valid gem 'calabash-android' (>= 0) in any repository

ERROR: While executing gem ... (Gem::RemoteFetcher::FetchError) Errno::ETIMEDOUT: A connection attempt failed because the connected party di d not properly respond after a period of time, or established connection failed because connected host has failed to respond. - connect(2) (http://rubygems.org/ latest_specs.4.8.gz)

I'm new to calabash mobile automation testing. Please any one help to resolve this problem. I'm eagerly learn to calabash mobile automation tool. Thanks for advance..

like image 493
Kv.senthilkumar Avatar asked May 30 '13 05:05

Kv.senthilkumar


1 Answers

These are the steps that I took and I successfully can run a calabash test on an Android device using Windows 7, 64 bit:

Install Ant (1.9)
http://ant.apache.org/

Install Ruby
http://rubyinstaller.org/
Install the 1.9.3 version (not the 2.0.0 or higher yet).

Install Ruby DevKit
http://rubyinstaller.org/downloads
https://github.com/oneclick/rubyinstaller/wiki/Development-Kit

Install Calabash
https://github.com/calabash/calabash-android/blob/master/documentation/installation.md

Be sure PATHs are set correctly. Be sure to follow the instructions given on the web-pages mentioned above.

Maybe your internet connection or the remote server were temporarily down, but it all should work.

like image 110
Streets Of Boston Avatar answered Oct 08 '22 06:10

Streets Of Boston