2014-03-25 51 views
0

今天我在Mac(我是Ubuntu用戶)工作,並且在安裝和配置Ruby on Rails時遇到了一些問題。對Xcode 4.3的rvm要求

首先我安裝自制軟件,然後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

回答

0

你可以做brew search rvm,如果你看到和舊版本(我不確定哪一個支持舊的gcc)。你可以做brew install {whatever search returns}