安装binding_of_caller-0.6.8 Gem时出错

时间:2013-07-26 01:38:47

标签: ruby-on-rails rubygems

尝试安装binding_of_caller时出现此错误,但仅适用于此特定版本。我已经尝试了很多搜索,但无法弄明白。

Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension.

    /Users/bluefantail/.rvm/rubies/ruby-2.0.0-p247/bin/ruby extconf.rb 
creating Makefile

make "DESTDIR="
compiling binding_of_caller.c
binding_of_caller.c:4:10: fatal error: 'vm_core.h' file not found
#include "vm_core.h"
         ^
1 error generated.
make: *** [binding_of_caller.o] Error 1


Gem files will remain installed in /Users/bluefantail/.rvm/gems/ruby-2.0.0-p247/gems/binding_of_caller-0.6.8 for inspection.
Results logged to /Users/bluefantail/.rvm/gems/ruby-2.0.0-p247/gems/binding_of_caller-0.6.8/ext/binding_of_caller/gem_make.out

1 个答案:

答案 0 :(得分:1)

  

您需要更新到v0.7.1以获得Ruby 2.0.0支持。

https://github.com/banister/binding_of_caller/issues/16#issuecomment-14028817

此评论将是一个解决方案。