Skip to content

Instantly share code, notes, and snippets.

@rewinfrey
Created November 13, 2012 16:49
Show Gist options
  • Save rewinfrey/4066916 to your computer and use it in GitHub Desktop.
Save rewinfrey/4066916 to your computer and use it in GitHub Desktop.
Bundle Can't Build Native C Extensions (after installing Mountain Lion)
brew --version
should report 0.9.3 or greater
if you have a older version then update it:
brew update
now you can install gcc-4.2 and create a symbolink link to the correct dir
brew tap homebrew/dupes
brew install apple-gcc42
sudo ln -s /usr/local/bin/gcc-4.2 /usr/bin/gcc-4.2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment