make: /usr/bin/gcc-4.2: No such file or directory
Every time I set up a new development environment, gcc-4.2 always errors out because it's no longer included in the newer mac osxs. Here is the fix using homebrew
$ brew tap homebrew/dupes
$ brew install apple-gcc42
$ sudo ln -s /usr/local/bin/gcc-4.2 /usr/bin/gcc-4.2
Written by Arthur Chang
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Rails
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#