3

我正在尝试通过 rvm 安装 ruby​​。

rvm install ruby-1.9.3-p286

但我收到以下错误:

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.

参考错误的最后一行,如何在我的路径中获取“usr/bin/gcc-4.2”?

我尝试将以下内容添加PATH="/usr/bin:$PATH"到我的 .bash_profile 中,但没有运气。

4

1 回答 1

3

运行以下命令:

rvm requirements

然后按照指示的步骤进行操作。

于 2013-03-04T14:46:52.203 回答