gpt4 book ai didi

ruby - 使用 RVM 安装 Ruby 1.9.3 时运行 'autoconf' 时出错

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

我使用的是 Mac OS X 10.7.4,目前使用的是 Ruby 1.9.2。我正在尝试使用 RVM 安装 Ruby 1.9.3,但在执行 rvm install 1.9.3 时出现以下错误:

Running autoconf
Error running 'autoconf', please read .../.rvm/log/ruby- 1.9.3/autoconf.log
Skipping configure step, 'configure' does not exist, did autoconf not run successfully?
ruby-1.9.3 - #compiling
Error running 'make ', please read .../.rvm/log/ruby-1.9.3/make.log
There has been an error while running make. Halting the installation.

我在 autoconf.logmake.log 中都找不到有用的东西。

我看过类似的问题,但无法解决这个问题。我还尝试按照此 question 中的建议删除 ruby-1.9.2-p0 目录 .

我真的可以在这里使用一些帮助(以及为什么会发生这种情况的可能解释)。

谢谢。

最佳答案

看起来没有正确检测到 ruby​​ 版本,确保你使用最新的 RVM:

curl -L https://get.rvm.io | bash
rvm reload

同时指定完整版本可能会有所帮助:

rvm install ruby-1.9.3-p194

关于ruby - 使用 RVM 安装 Ruby 1.9.3 时运行 'autoconf' 时出错,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/11641135/

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