【问题标题】:RVM installation without XCode issue没有 XCode 问题的 RVM 安装
【发布时间】:2014-07-12 21:19:22
【问题描述】:

我一直在关注这个答案,除了我在 OSX Mavericks 上:https://stackoverflow.com/a/11436675

我已经下载了当前版本的命令行工具(我也安装了 osx-gcc-installer,我不知道这是否重要)。

当我运行:pkgutil --pkg-info=com.apple.pkg.CLTools_Executables,我得到:

 ...
 version: 5.1.0.0.1.1396320587
 ...

所以我肯定安装了命令行工具。我正在尝试安装 RVM,所以我运行了以下命令:rvm install ruby-2.0.0 并得到以下信息:

Xcode version older than 4.6.2 installed, download and install newer version from:

http://connect.apple.com

After installation open Xcode, go to Downloads and install Command Line Tools.\n'

Xcode version older than 4.6.2 installed, download and install newer version from:

http://connect.apple.com

After installation open Xcode, go to Downloads and install Command Line Tools.

++ return 1
Requirements installation failed with status: 1.

【问题讨论】:

    标签: ruby macos rvm osx-mavericks


    【解决方案1】:

    在你的链接上写着:

    2) 照常安装 RVM...

    还有这个:

    rvm install ruby-2.0.0
    

    不是你安装rvm的方式。要安装 rvm,请访问 rvm 网站:

    https://rvm.io/

    然后向下滚动到页面底部并在 RVM 标题下,单击安装。然后阅读有关如何为您的设置安装 rvm 的信息,可能是这样的:

    1) 下载并运行 RVM 安装脚本

    安装稳定版:

    user$ \curl -sSL https://get.rvm.io | bash -s stable
    

    要执行该命令,请打开终端窗口(应用程序/实用程序/终端),然后 cd 到您的主目录:

    $ cd /用户/

    (您的主目录在提示符中由 ~ 表示。)

    你也可以 cd 到你的主目录,这样做:

    $ cd ~
    

    或者只是:

    $ cd
    

    然后复制粘贴:

    \curl -sSL https://get.rvm.io | bash -s stable
    

    在提示的右侧,然后按回车键。这将安装 rvm。

    要让 rvm 为您安装 ruby​​,请单击 rvm 网站的链接,向下滚动到页面底部,然后在 Rubies 标题下,单击安装 Rubies。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多