我实际上是尝试使用
RVM在OSX 10.7.5上更新ruby,并在输入以下命令后:
rvm install ruby
我收到了以下回复:
Searching for binary rubies,this might take some time. Checking requirements for osx. Installing requirements for osx. Updating system....... Error running 'requirements_osx_brew_update_system ruby-2.0.0-p247',please read /Users/username/.rvm/log/1381215459_ruby-2.0.0-p247/update_system.log Requirements installation Failed with status: 1.
然后,当我检出update_system.log时,它向我展示了一个名为requirements_osx_brew_update_system()的函数的实际代码,其中包含以下错误消息:
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.
然后我继续寻找Xcode的更新,但只发现了最新的Xcode 5.0,这显然与我的OSX 10.7不兼容.虽然最终我的目标是更新ruby并安装rails,我确信还有很多其他方法可做,但我仍然想知道是否可以在我的OSX 10.7上安装Xcode 4.6.2.