2

尝试安装 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
4

1 回答 1

1

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

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

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

于 2013-11-18T08:05:54.190 回答