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

Byebug or debugger2 instead of debugger? #334

Closed
ekremkaraca opened this issue Aug 18, 2014 · 2 comments
Closed

Byebug or debugger2 instead of debugger? #334

ekremkaraca opened this issue Aug 18, 2014 · 2 comments

Comments

@ekremkaraca
Copy link

Hey guys,

I've tried to install deps but while I hit bundle install, I got error because of being mismatch between debugger & ruby 2.1.x. Here's error output:

Using debugger-linecache 1.2.0
Using debugger-ruby_core_source 1.3.5

Gem::Ext::BuildError: ERROR: Failed to build gem native extension.

    /home/ekrem/.rbenv/versions/2.1.2/bin/ruby -r ./siteconf20140817-19412-xy89e6.rb 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.

While searching reasons for this error, I've faced this comment, from debuggers owner. In short, he recommends us to choose either byebug or debugger2 for debuggging in ruby 2.x

@steveyken
Copy link
Member

Looks fine to me. So we can use byebug in Ruby 2 and debugger in ruby 1.9.

@steveyken
Copy link
Member

Implemented. Should compile for you now. See 5dca0ba

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

2 participants