Reputation: 13300
I am trying to update ruby and rails on my system (osx 10.8.2)
When I run
rvm install 1.9.3 --with-gcc=gcc-4.2
I get the following error:
You requested building with 'gcc-4.2' but it is not in your path.
2 questions; how do I install using gcc-4.2 (I have installed command line tools in xcode)? Also, How do I get it to the correct path?
Any help in this issue would be greatly appreciated.
Upvotes: 1
Views: 3219
Reputation: 2378
If you're not using Homebrew already, you'll probably want to install it, along with the apple-gcc42 package. This script will do that for you, but you'll probably just want to manually run the parts of it that you want: https://github.com/thoughtbot/laptop/blob/master/mac
Upvotes: 1
Reputation: 16006
Try installing using this package: https://github.com/kennethreitz/osx-gcc-installer
Upvotes: 0