我使用的是 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.log
和 make.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/