How to remove XCode 4.2 and install 4.1 to develop Ruby / Rails on OSX Lion?
I develop Rails apps using RVM (ruby version manager). I had to download XCode, in the app store I got only version 4.2. Now RVM says that it can't build rubies properly with this XCode, so I followed this tutorial: http://www.frederico-araujo.com/2011/07/30/installing-rails-on-os-x-lion-with-homebrew-rvm-and-mysql/ 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) Now, there is a 3.09 GB .dmg with an installXCodeLion