如何删除 XCode 4.2 并安装 4.1 以在 OSX Lion 上开发 Ruby/Rails? [英] How to remove XCode 4.2 and install 4.1 to develop Ruby / Rails on OSX Lion?
问题描述
我使用 RVM(ruby 版本管理器)开发 Rails 应用.
I develop Rails apps using RVM (ruby version manager).
我必须下载 XCode,在应用商店我只有 4.2 版.
I had to download XCode, in the app store I got only version 4.2.
现在 RVM 说它不能用这个 XCode 正确构建 rubies,所以我跟着这个教程:
Now RVM says that it can't build rubies properly with this XCode, so I followed this tutorial:
我从您在控制台中键入 rvm requirements
时显示的链接下载了 XCode 版本.(https://developer.apple.com/downloads/download.action?path=Developer_Tools/xcode_4.1_for_lion/xcode_4.1_for_lion.dmg)
I downloaded the XCode version from the link that is shown when you type rvm requirements
in the console. (https://developer.apple.com/downloads/download.action?path=Developer_Tools/xcode_4.1_for_lion/xcode_4.1_for_lion.dmg)
现在,有一个 3.09 GB 的 .dmg 和 installXCodeLion 包,它安装成功,但在我的系统上没有 XCode 或任何东西之后.(我也停止了 iTunesHelper 进程...)
Now, there is a 3.09 GB .dmg with an installXCodeLion package, and it installs successfully, but after there is no XCode or whatsoever on my system. (I stopped also the iTunesHelper process... )
有人知道如何安装 XCode 4.1 吗?或者从Apple哪里正式获得它?或者有人在 Lion 上成功使用 RVM 和 ruby 1.9.2 w/Rail 3.1?
Anybody knows how to install XCode 4.1 ? Or where to officially get it from Apple? Or anybody uses RVM and ruby 1.9.2 w/ Rail 3.1 successfully on Lion?
推荐答案
我会为您省去任何额外的麻烦:您的 rvm 安装已过期.
I'll save you any additional trouble: Your rvm installation is out of date.
重新安装 Xcode 4.2,获取最新的 rvm,然后继续工作,无需大惊小怪.
Reinstall Xcode 4.2, grab the latest rvm, and get back to your work with no fuss and no hoop-jumping.
这篇关于如何删除 XCode 4.2 并安装 4.1 以在 OSX Lion 上开发 Ruby/Rails?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!