title: How to remove XCode 4.2 and install 4.1 to develop Ruby / Rails on OSX Lion?
body: <p>I develop Rails apps using RVM (ruby version manager).</p>
  
  <p>I had to download XCode, in the app store I got only version 4.2.</p>
  
  <p>Now RVM says that it can't build rubies properly with this XCode, so I followed this tutorial:</p>
  
  <p><a href="http://www.frederico-araujo.com/2011/07/30/installing-rails-on-os-x-lion-with-homebrew-rvm-and-mysql/" rel="nofollow">http://www.frederico-araujo.com/2011/07/30/installing-rails-on-os-x-lion-with-homebrew-rvm-and-mysql/</a></p>
  
  <p>I downloaded the XCode version from the link that is shown when you type <code>rvm requirements</code> in the console. (https://developer.apple.com/downloads/download.action?path=Developer_Tools/xcode_4.1_for_lion/xcode_4.1_for_lion.dmg)</p>
  
  <p>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... )</p>
  
  <p>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?</p>