-1
我试着用'gem install watir-webdriver'来安装watir webdriver,但是它说有些错误,比如“你必须先安装开发工具。”如何在Mac上安装watir?
我试着用'gem install watir-webdriver'来安装watir webdriver,但是它说有些错误,比如“你必须先安装开发工具。”如何在Mac上安装watir?
欢迎来到堆栈溢出!
听起来像你刚刚开始编程。您需要设置您的机器才能编译代码和内容。
运行从终端这个命令你特别需要前进一开始开发的命令行工具:
xcode-select --install
此外,它的一个好主意,继续和安装BREW(http://brew.sh/):
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
RVM是得心应手太(https://rvm.io/)
gpg --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3
\curl -sSL https://get.rvm.io | bash -s stable
https://开头leanpub.com/watirbook/read#leanpub-auto-mac-os-x-109 – Carldmitch
[gem install rails failed on ubuntu]可能重复(http://stackoverflow.com/questions/29317640/gem-install-rails-失败的Ubuntu的) – titusfortner
可能重复[Gem安装错误:您必须先安装开发工具](http://stackoverflow.com/questions/27768420/gem-installation-error-you-have-to-install-开发工具一) – orde