title: Mac OS X Lion Xcode problems using RVM
body: <p>I had Xcode 4.1 preview 5 working fine but decided to upgrade to the final xcode 4.1 thru the App store.  I uninstalled Xcode first... </p>
  
  <pre><code>sudo /Developer/Library/uninstall-devtools –mode=all
  </code></pre>
  
  <p>Then installed Xcode thru the app store and rebooted.</p>
  
  <p>I also removed RVM completely but... now whenever I try and install a version of Ruby it fails.  In the error file i get this:</p>
  
  <pre><code>[2011-07-27 18:29:25]  ./configure --prefix="/Users/holden/.rvm/usr"  
  checking for a BSD-compatible install... /usr/bin/install -c
  checking whether build environment is sane... yes
  checking for a thread-safe mkdir -p... config/install-sh -c -d
  checking for gawk... no
  checking for mawk... no
  checking for nawk... no
  checking for awk... awk
  checking whether make sets $(MAKE)... no
  checking for gcc... /usr/bin/gcc-4.2
  checking whether the C compiler works... no
  configure: error: in `/Users/holden/.rvm/src/yaml-0.1.4':
  configure: error: C compiler cannot create executables
  See `config.log' for more details
  </code></pre>
  
  <p>There is no gcc-4.2 or any other gcc in the /usr/bin directory.</p>
  
  <p>What's up with Xcode?</p>