wayneeseguin/rvm — Issue #766: Moved /usr/bin/gcc-4.2 on OS X 10.8 Mountain Lion Preview
Author: searls
Created: 2012-02-18 18:45:21+00:00
State: open

I'm currently working through troubleshooting on Mountain Lion, and noticed that on rvm rubies, gems with native extensions were failing. (Keeping my notes in this [gist](https://gist.github.com/1860511))

It seems the clearest issue after upgrading is that /usr/bin/gcc-4.2 has been renamed /usr/bin/gcc (presumably replacing the older gcc). In order to work around this, I created a symlink:

```
sudo ln -s /usr/bin/gcc /usr/bin/gcc-4.2
```