cldwalker/debugger

Unable to install debugger 1.6.1 on 1.8.7

mochnatiy opened this issue · 3 comments

Hello!
I use rvm 1.19.1, ruby 1.8.7 on OS X 10.8.4.
Dependencies: debugger-linecache and debugger-ruby_core_source already installed
But i cannot install debugger 1.6.1
Error message:

Building native extensions. This could take a while...
ERROR: Error installing debugger:
ERROR: Failed to build gem native extension.

    /Users/me/.rvm/rubies/ruby-1.8.7-p371/bin/ruby extconf.rb

*** 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=/Users/sergey/.rvm/rubies/ruby-1.8.7-p371/bin/ruby
extconf.rb:16:in `require': no such file to load -- debugger/ruby_core_source (LoadError)
from extconf.rb:16

Thanks for reporting your issue! This is one of my 9 active issues. Use that link to check how soon your issue will be answered. Don't forget to check your issue against this project's CONTRIBUTING.md. Cheers.

debugger is 1.9 and eventually 2.0 compatible as stated in the readme - https://github.com/cldwalker/debugger#description

Try ruby-debug which should be 1.8 compatible

Managed to reproduce this on 1.9.3-p484, works when using gem install debugger -v 1.6.1, but using rbenv exec bundle install brakes it.