FluxEngine
FluxEngine

Reputation: 13300

Adding /usr/bin/gcc-4.2 to path - installing ruby

I am trying to install ruby via rvm.

rvm install ruby-1.9.3-p286

but I get the following error:

Searching for binary rubies, this might take some time.
No binary rubies available for: osx/10.8/x86_64/ruby-1.9.3-p286.
Continuing with compilation. Please read 'rvm mount' to get more information on binary rubies.
You requested building with '/usr/bin/gcc-4.2' but it is not in your path.

Refering to the last line of the error, how do I get 'usr/bin/gcc-4.2' in my path?

I have tried adding the following PATH="/usr/bin:$PATH" to my .bash_profile, but no luck.

Upvotes: 3

Views: 3743

Answers (1)

sjain
sjain

Reputation: 23354

Run the following:

rvm requirements

Then follow the steps as what is instructed.

Upvotes: 3

Related Questions