Mac OS X Lion Xcode problems using RVM Mac OS X Lion Xcode problems using RVM ruby ruby

Mac OS X Lion Xcode problems using RVM


Apparently even after downloading and "installing" XCode from the Appstore and despite the long process after downloading where it appears to install it and the words "Installed" eventually become displayed next to it in the store. You must still manually install it again within your applications folder before it will work.

Odd.


Just bought a Mac,what I had to do to make it work after installing Xcode and seeing that /usr/bin doesn't have gcc, was:Enter Xcode preferences going over to the downloads tab and install Command Line Tools.After setting up my developer account and downloading the tools I opened terminal and typed

rvm install 1.9.3 --with-gcc=clang

and everything compiled and works.


Note - after running "Install Xcode" I still only have "gcc" in /usr/bin, not gcc-4.2. But still worked fine, /usr/bin/gcc was a symlink to /usr/bin/llvm-gcc-4.2