Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/ruby-on-rails/63.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/ruby/24.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Ruby on rails 为什么我会得到一个;运行'时出错;自动恢复'&引用;使用RVM安装ruby-2.0.0-head时出错?_Ruby On Rails_Ruby_Rvm_Ruby On Rails 4 - Fatal编程技术网

Ruby on rails 为什么我会得到一个;运行'时出错;自动恢复'&引用;使用RVM安装ruby-2.0.0-head时出错?

Ruby on rails 为什么我会得到一个;运行'时出错;自动恢复'&引用;使用RVM安装ruby-2.0.0-head时出错?,ruby-on-rails,ruby,rvm,ruby-on-rails-4,Ruby On Rails,Ruby,Rvm,Ruby On Rails 4,我试图通过RVM在我的Mac OSX Lion系统中安装Ruby 2.0,但我一直遇到以下错误: Installing Ruby from source to: /usr/local/rvm/rubies/ruby-2.0.0-head, this may take a while depending on your cpu(s)... HEAD is now at a653ba0 merge revision(s) 42720: [Backport #8829] From git://gith

我试图通过RVM在我的Mac OSX Lion系统中安装Ruby 2.0,但我一直遇到以下错误:

Installing Ruby from source to: /usr/local/rvm/rubies/ruby-2.0.0-head, this may take a while depending on your cpu(s)...
HEAD is now at a653ba0 merge revision(s) 42720: [Backport #8829]
From git://github.com/ruby/ruby
 * branch            ruby_2_0_0 -> FETCH_HEAD
Already up-to-date.
Copying from repo to src path...
ruby-2.0.0-head - #autoreconf........
Error running 'autoreconf',
please read /usr/local/rvm/log/1378234760_ruby-2.0.0-head/autoreconf.log
Skipping configure step, 'configure' does not exist, did autoreconf not run successfully?
ruby-2.0.0-head - #post-configuration
ruby-2.0.0-head - #compiling.
Error running 'make -j8',
please read /usr/local/rvm/log/1378234760_ruby-2.0.0-head/make.log
There has been an error while running make. Halting the installation.
我的autoconf版本是2.68,RVM是1.22.3


以前有人遇到过同样的问题吗?

设法解决了这个问题。这是一个perl版本的问题。
autoconf日志说的是“这个perl不是为支持线程而构建的”。 我有一个旧版本的perl:


$perl——版本

这是为darwin-multi-2level构建的Perl5,版本12,Subversion3(v5.12.3)


我做了“sudo port upgrade perl5”,在它成功更新之后,一切都很顺利


谢谢大家的帮助!:)

您是否正确安装了其他红宝石?您是否安装了开发人员工具?“请阅读/usr/local/rvm/log/1378234760_ruby-2.0.0-head/make.log”告诉您什么?注意-您正在尝试安装2.0.0-head,这意味着2.0.0分支的开发代码,它不等于最新版本的补丁级别2.0.0,使用最新发布的版本运行:
rvm install 2.0.0
@theTinMan,是的,我设法安装了旧版本或ruby(ruby 1.8.7、1.9.3等)。这只发生在我尝试安装ruby 2.0时。我已经尝试检查make.log,它只显示:[2013-09-04 02:59:22]make current path:/usr/local/rvm/src/ruby-2.0.0-head命令(2):make-j8 make:**未指定目标,未找到makefile。停下来。谢谢你的信息。是的,我也试过了。出现相同错误。请尝试
rm-rf/usr/local/rvm/src/ruby-2.0.0*;rvm—调试安装2.0.0
,确保包含完整输出和提到的日志文件