【发布时间】: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