gpt4 book ai didi

ruby-on-rails - 添加/usr/bin/gcc-4.2 到路径 - 安装 ruby

转载 作者:数据小太阳 更新时间:2023-10-29 08:00:39 25 4
gpt4 key购买 nike

我正在尝试通过 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,但没有成功。

最佳答案

运行以下命令:

rvm requirements

然后按照指示进行操作。

关于ruby-on-rails - 添加/usr/bin/gcc-4.2 到路径 - 安装 ruby,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/15204141/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com