Created
July 3, 2013 04:36
-
-
Save j-wang/5915475 to your computer and use it in GitHub Desktop.
I was having trouble install bud (gem install bud) and eventually figured out that it was a problem with the g++ version I had installed (not the mac native 4.2). '-Wshorten-64-to-32' is native to mac only. This gist temporarily replaces g++ with g++-4.2 and then reverses the switch. Error I was getting: Jamess-MacBook-Pro:exercises Avantos$ gem…
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mv /usr/local/bin/g++ /usr/local/bin/g++.bak && ln -s /usr/bin/g++-4.2 /usr/local/bin/g++ | |
rm /usr/local/bin/g++ && mv /usr/local/bin/g++.bak /usr/local/bin/g++ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment