Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with dependencies in Rails 4.0.1 #16

Closed
fluxusfrequency opened this issue Nov 11, 2013 · 9 comments
Closed

Problem with dependencies in Rails 4.0.1 #16

fluxusfrequency opened this issue Nov 11, 2013 · 9 comments

Comments

@fluxusfrequency
Copy link

Hi,

I'm trying to get jazz_hands working on a Rails 4.0.1 project, but am getting this error:

Installing debugger (1.6.2)
Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension.

/Users/benlewis/.rvm/rubies/ruby-2.0.0-p247/bin/ruby extconf.rb

*** extconf.rb failed ***

...

An error occurred while installing debugger (1.6.2), and Bundler cannot continue.
Make sure that gem install debugger -v '1.6.2' succeeds before bundling.

@nixme
Copy link
Owner

nixme commented Nov 11, 2013

Seems like an issue with the debugger gem not being able to recompile it's native extensions?

Have you upgraded to Mavericks but didn't recompile your ruby?

@fluxusfrequency
Copy link
Author

Hmm, I tried recompiling, but it didn't change anything. Any other ideas? Thanks!

@nixme
Copy link
Owner

nixme commented Nov 14, 2013

Does running gem install debugger -v '1.6.2' work? If it doesn't, then this is an issue for the debugger gem (a dependency), not this one. It would help if you posted the log file that usually follows that message "Results logged to ..."

@fluxusfrequency
Copy link
Author

Hi,

Thanks for helping. It looks like it must be a debugger problem.

The log file reads:

/Users/benlewis/.rvm/rubies/ruby-2.0.0-p247/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/benlewis/.rvm/rubies/ruby-2.0.0-p247/bin/ruby
/Users/benlewis/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_require.rb:51:in `require': cannot load such file -- debugger/ruby_core_source (LoadError)
    from /Users/benlewis/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_require.rb:51:in `require'
    from extconf.rb:16:in `<main>'

@fluxusfrequency
Copy link
Author

Also, is this the pry-debugger, or ruby-debug gem?

@schaary
Copy link

schaary commented Dec 2, 2013

I use Mavericks and rbenv to manage my ruby environment. I have no problems - only with pry itself. But that's a bug in pry-0.9.12.4.

@nixme
Copy link
Owner

nixme commented Dec 2, 2013

debugger is the gem from https://github.com/cldwalker/debugger.

pry-debugger, this gem, is some glue between debugger and pry, the two upstream gems that provide the bulk of functionality.

@nixme nixme closed this as completed Dec 2, 2013
@nixme
Copy link
Owner

nixme commented Dec 4, 2013

Ah, I misread which project I'm managing. This gem is jazz_hands, not pry-debugger. Anyhow, you might want to try the "bring-your-own-debugger" branch as mentioned in #12 to get jazz_hands working. Since you look to be using Ruby 2.0.0, just add pry-byebug to your Gemfile right after.

@fluxusfrequency
Copy link
Author

Thanks! That worked like a charm!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants