我在安装RVM之前尝试安装自制软件,但我很难安装自制软件。

时间:2014-02-19 04:05:22

标签: ruby-on-rails ruby macos terminal homebrew

以下是我的cod eon终端在未能下载自制软件后出现的情况。

上次登录:ttys000 2月18日星期二21:49:54          Alexs-MacBook-Air:~arodriguez2012 $ ruby​​ -e“$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)”           ==>此脚本将安装:       在/ usr / local / bin目录/ BREW       在/ usr /本地/库/ ...         /usr/local/share/man/man1/brew.1

      Press RETURN to continue or any other key to abort
         ==> Installing the Command Line Tools (expect a GUI popup): 

          ==> /usr/bin/sudo /usr/bin/xcode-select --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
     Failed during: /usr/bin/sudo /usr/bin/xcode-select --install
       Alexs-MacBook-Air:~ arodriguez2012$ 

1 个答案:

答案 0 :(得分:0)

打开Xcode应用程序并转到“首选项”。在“位置”下,单击 命令行工具下拉并选择最新版本,它将提示您输入密码。关闭Xcode,然后继续进行HomeBrew安装。