Tried to install a gem on Mountain Lion and make couldn\'t find gcc-4.2:
kamil$ gem install posix-spawn -v \'0.3.6\' Building native extensions. This could
Install simply apple-gcc42 with brew. It generate gcc-4.2 .
brew install apple-gcc42
So we do not need symlinks, which apple update may remove.
Homebrew