Debuggerのいんすとーるにしっぱいするけんについて
GitHubには既に報告があがっているようです。
このツールの依存性でうんにゃらかんにゃらあるので、解決策募集してます。
$ gem install debugger WARNING: You don't have /Users/yuxxxx/.gem/ruby/2.0.0/bin in your PATH, gem executables will not run. Building native extensions. This could take a while... ERROR: Error installing debugger: ERROR: Failed to build gem native extension. /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/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 checking for rb_method_entry_t.called_id in method.h... yes checking for vm_core.h... yes checking for iseq.h... no Makefile creation failed ************************************************************* NOTE: If your headers were not found, try passing --with-ruby-include=PATH_TO_HEADERS ************************************************************* *** extconf.rb failed *** Could not create Makefile due to some reason, probably lack of necessary libraries and/or headers. Check the mkmf.log file for more details. You may need configuration options. Provided configuration options: --with-opt-dir --without-opt-dir --with-opt-include --without-opt-include=${opt-dir}/include --with-opt-lib --without-opt-lib=${opt-dir}/lib --with-make-prog --without-make-prog --srcdir=. --curdir --ruby=/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/bin/ruby --with-ruby-dir --without-ruby-dir --with-ruby-include --without-ruby-include=${ruby-dir}/include --with-ruby-lib --without-ruby-lib=${ruby-dir}/ Gem files will remain installed in /Users/yuxxxx/.gem/ruby/2.0.0/gems/debugger-1.6.3 for inspection. Results logged to /Users/yuxxxx/.gem/ruby/2.0.0/gems/debugger-1.6.3/ext/ruby_debug/gem_make.out
環境はOS X(10.9.1)、MacBook Pro Retina 13インチ(Early 2013)、Ruby2.0.0p247です。
なおrbenvで既定のバージョンを2.0.0-p353に設定してやってみるとSEGVで乙りました。もうやだ…
ちなみに各所探してみましたが、method.h、vm_core.h、iseq.hがないことは確認済みです。これもしかしてRuby1.9系ならインストール成功するパティーンでしょうか…