【发布时间】:2013-07-28 09:39:12
【问题描述】:
我正在尝试在 Ruby 2.0.0 上安装 Nokogiri gem,同时使用 Mavericks 10.9 和 Xcode 5,但我不断收到错误
You have to install development tools first
我从 Apple 的开发者网站下载并安装了 Mavericks 的命令行工具,所以我不确定问题出在哪里。
我尝试了this question 中的解决方案,但在终端中输入xcode-select --install 时,我只是返回 --install 的帮助菜单,这似乎不是一个有效的参数
Usage: xcode-select -print-path
or: xcode-select -switch <xcode_folder_path>
or: xcode-select -version
Arguments:
-print-path Prints the path of the current Xcode folder
-switch <xcode_folder_path> Sets the path for the current Xcode folder
-version Prints xcode-select version information
【问题讨论】:
-
你读过this question吗?
-
我在发帖前已经阅读过,但没有成功
标签: ruby-on-rails ruby command-line-tool xcode5 osx-mavericks