ruby-on-rails - 运行 autoconf 时 rvm install 1.9.2 失败?

标签 ruby-on-rails ruby rubygems rvm

当我运行时

rvm install 1.9.2

我在尝试运行 autoconf 时遇到错误。这是堆栈跟踪:

kenmare:ruby-1.9.2-p0 lee$ rvm install 1.9.2-p0
/Users/lee/.rvm/rubies/ruby-1.9.2-p0, this may take a while depending on your cpu(s)...

ruby-1.9.2-p0 - #fetching 
ruby-1.9.2-p0 - #extracted to /Users/lee/.rvm/src/ruby-1.9.2-p0 (already extracted)
Running autoconf
Error running 'autoconf', please check /Users/lee/.rvm/log/ruby-1.9.2-p0/autoconf.error.log
Skipping configure step, 'configure' does not exist, did autoconf not run successfully?
ruby-1.9.2-p0 - #compiling 
Error running 'make ', please check /Users/lee/.rvm/log/ruby-1.9.2-p0/make.error.log
There has been an error while running make. Halting the installation.

有什么想法吗?谢谢!

更新:抱歉来晚了,没有提供一些明显的信息。我在运行 10.6.4 的 Mac 上。 autoconf 日志说:

autoconf: no input file

关于 make 的答案,当我运行时

which make
/usr/bin/make

我已经使用 rvm 成功运行了 1.8.7。我只在安装 1.9.2 时收到此问题。 再次感谢!

最佳答案

这发生在我身上是因为我的 rvm 版本太旧了

rvm list known

没有将 ruby​​ 1.9.3 显示为我的选项之一

我做到了:

rvm get head

关于ruby-on-rails - 运行 autoconf 时 rvm install 1.9.2 失败?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/4241971/

相关文章:

ruby-on-rails - 具有多个版本的 Ruby 的 autospec

ruby-on-rails - 每次 rake 任务运行后都会删除 Rails.cache

ruby-on-rails - Rails2.3.8 : Duplicate entry 'MyString' for key ruby

ruby-on-rails - 注销前更新 current_user 时收到 "Attempted to update a stale object: User"异常

ruby-on-rails - 当我尝试安装 pg gem 时,是什么导致了这个错误?

ruby-on-rails - 如何将当前的高压页面名称添加为主体类?

ruby-on-rails - windows 上的 therubyracer gem

ruby-on-rails - 在哪里/什么测试?模拟、 stub 、函数式、单元...(在 Ruby/Rails 中)?

mysql - rails : Creating a survey data structure with variable type answers

ruby - 正则表达式匹配类中除某些字符外的所有字符