Install Calabash-Android causes error on OS X Mavericks

廉价感情. 提交于 2019-12-01 06:34:32

I had the same problem and I just found out a solution for this.

I found one related problem here:

http://techespanto.wordpress.com/2013/03/29/upgrade-ruby-version-on-mac-osx/

and it suggested I had to upgrade the ruby version on my machine. The first two commands in that link are not working, so I leave you here what I did:

Install the command line tools for mac with:

xcode-select --install

Install homebrew in your mac with:

ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)"

Install rvm with:

\curl -L https://get.rvm.io | bash -s stable --rails --autolibs=enable

List the latest ruby versions with:

rvm list known

Install the latest ruby version with:

rvm install ruby-<version>

(for me it was ruby-2.1-head)

And that's all. Hope it works for you as well!

Lasse

You can also try the solution from https://stackoverflow.com/a/22787223/1165581


I looked at the calabash-ios google group for you and I think I have the solution for your

Try installing it like this

sudo ARCHFLAGS=-Wno-error=unused-command-line-argument-hard-error-in-future gem install calabash-cucumber

If that fails you can try to downgrade xcode from 5.1 to one of the previous(Preferences->Locations).

And the reference link


易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!