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

标签 ruby makefile rvm autoconf ruby-1.9.3

我使用的是 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/

相关文章:

ruby - 当我运行 "gem list"时, bundler (默认 : 1. 16.2)是什么意思?什么是(默认)部分?

ruby-on-rails - 从 CSV 导入和创建记录

makefile - makefile 中的 subst for-loop 元素?

ruby - rvm default 和 global gemset 的区别

windows - 在 Windows 上为 GNU Make 定义和使用构建时间戳

Makefiles : using `wildcard` vs. `find` 用于指定源文件

java - 如何阻止 RVM 干扰 JRuby

Ruby 电子邮件客户端推荐

ruby - 如何在指定的时间长度后运行 RSpec 测试?

Ruby 从哈希表中弹出一个元素?