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