cldwalker / debugger

port of ruby-debug that works on 1.9.2 and 1.9.3
BSD 2-Clause "Simplified" License
845 stars 80 forks source link

Error installing on 1.9.3p392 #139

Closed 29thfloor closed 9 years ago

29thfloor commented 9 years ago

I'm getting an error when running 'bundle install'. It looks like the debugger-ruby_core_source gem is supposed to fix this issue but I'm not sure it works with this Ruby version.

It also says I need to 'install development tools first' but I'm pretty sure I've done that already (ie, xcode-select --install):

'xcode-select: error: command line tools are already installed, use "Software Update" to install updates'

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
    --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/danielmcfarland/.rvm/rubies/ruby-1.9.3-p392/bin/ruby
    --with-sqlite3-dir
    --without-sqlite3-dir
    --with-sqlite3-include
    --without-sqlite3-include=${sqlite3-dir}/include
    --with-sqlite3-lib
    --without-sqlite3-lib=${sqlite3-dir}/lib
/Users/danielmcfarland/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/1.9.1/mkmf.rb:381:in `try_do': The compiler failed to generate an executable file. (RuntimeError)
You have to install development tools first.
cldwalker commented 9 years ago

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.

cldwalker commented 9 years ago

debugger-ruby_core_source has had 1.9.3-p392 support for some time. Googling for the last error message reveals this is an with setting up gcc, not debugger specific. You should try some of the suggested solutions from SO or this issue.