こんな感じのエラーが出たんで、
1 2 3 4 5 6 7 8 9 10 11 | Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension. /home/hoge/.rbenv/versions/1.9.3-p448/bin/ruby extconf.rb checking for rb_method_entry_t.called_id in method.h... no checking for rb_control_frame_t.method_id in method.h... no checking for rb_method_entry_t.called_id in method.h... no checking for rb_control_frame_t.method_id in method.h... no Makefile creation failed ************************************************************************** No source for ruby-1.9.3-p448 provided with debugger-ruby_core_source gem. ************************************************************************** |
とりあえず、
https://github.com/cldwalker/debugger/issues/12
を参考に。
1 2 3 | gem install ruby-debug19 # もしかしたら↓も必要かも gem install debugger-linecache -- --with-ruby-include=~/.rbenv/versions/1.9.3-p448 |