如何在Lion上安装Xcode 4.6,需要使用RVM升级ruby
发布时间:2020-12-14 18:02:16 所属栏目:百科 来源:网络整理
导读:我实际上是尝试使用 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......
我实际上是尝试使用
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. 解决方法
看来你将不得不在Xcode 5下安装.所以转到
https://developer.apple.com/downloads/并使用你的开发者ID登录以获得旧版本.应该有一个4.6.3可以下载,甚至4.6.2.
或者您可以将OSX升级到10.8. 无论你喜欢什么. 我无法直接链接到它,因为您需要开发人员信息才能自行登录.但是,一旦您登录,您需要的所有下载都在上面提供的链接中. (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |