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

vic*_*ich 2 ruby autoconf makefile rvm 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.
Run Code Online (Sandbox Code Playgroud)

我什么也没有发现在这两个有用的autoconf.logmake.log.

我看了类似的问题,但无法解决这个问题.我也尝试删除ruby-1.9.2-p0 directory问题中的建议.

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

谢谢.

mpa*_*pis 5

看起来好像没有检测到ruby版本,请确保使用最新的RVM:

curl -L https://get.rvm.io | bash
rvm reload
Run Code Online (Sandbox Code Playgroud)

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

rvm install ruby-1.9.3-p194
Run Code Online (Sandbox Code Playgroud)