【问题标题】:rvm requirements with Xcode 4.3Xcode 4.3 的 rvm 要求
【发布时间】:2014-05-03 23:32:31
【问题描述】:

今天我在 Mac 上工作(我是 Ubuntu 用户),在安装和配置 Ruby on Rails 时遇到了一些问题。

我首先安装 homebrew,然后安装 rvm

然后我尝试安装 rvm 要求并收到此错误:

user:~ analistas$ rvm requirements
Checking requirements for osx.
Error: No available formula for gcc46 
Installing requirements for osx.
Updating system........
Error running 'requirements_osx_brew_update_system ',
showing last 15 lines of /Users/analistas/.rvm/log/1395783259/update_system.log
+ printf %b '
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.
user:~ analistas$ 

可以用旧版 Xcode 运行 rvm requirements 吗?

【问题讨论】:

    标签: ruby-on-rails ruby xcode rvm


    【解决方案1】:

    您可以使用brew search rvm,如果您看到旧版本(我不确定哪一个支持旧版 gcc)。然后你可以做brew install {whatever search returns}

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2014-05-17
      • 2013-01-22
      • 1970-01-01
      • 2018-10-20
      • 2022-01-11
      • 2012-03-09
      • 2014-01-14
      • 1970-01-01
      相关资源
      最近更新 更多