-
Notifications
You must be signed in to change notification settings - Fork 80
debugger can't be installed on ruby 2.X #125
Comments
Thanks for reporting your issue! This is one of my 16 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. |
Is this issue ongoing? |
Yes, I am having this issue with 1.6.6 and against 2.1.2 as well. |
Same here. Issue with 1.6.6 with ruby 2.1.2 on OSX 10.9.2 |
same here! |
👍 and there is a PR for that issue. |
Same here.... |
+1 |
Support for Ruby 2.1.2p95 would be groovy. |
👍 |
1 similar comment
+1 |
Same here! |
+1 |
2 similar comments
+1 |
+1 |
Hey folks, please refrain from posting spammy +1s and pinging everyone subscribed to this thread. I think the point that this is broken on Ruby 2.1.2 has been made and proved, and either someone with the time and knowledge will submit a fix PR or you tackle this and do the same. I don't think putting +1 comments on this thread will speed things up. Thanks! |
There's already a PR #126 |
@cldwalker @astashov @mark-moseley @nobu, |
I've having the same issue. |
I am having this problem on linux as well, it's not confined to mac. |
For ruby 2.X debugging, I now recommend byebug or debugger2. I've updated the README to indicate this. Reasons for this:
In a week, I will be closing all ruby2 issues including this one. I will hold off on closing them if someone takes up working on 2.X support. I'm happy to provide github and gem push access as needed. This requires doing the following with ko1's pull request, #69:
|
I am also looking for 1.9.X maintainers if anyone is interested |
What are the pros and cons of byebug vs debugger2? |
Our reason for using debugger (with Ruby 2.1) is that pry-debugger currently depends on it. /cc @nixme |
It was necessary to uninstall pry-debugger in favor of pry-byebug, because the debugger gem doesn't offer full support to Rails 2 References: http://stackoverflow.com/questions/20826568/debugger-gem-not-supported-in-ruby-2-1-0-2-1-1-2-1-2 cldwalker/debugger#125 (comment)
+1 for Ruby 2.1.3 |
I believe we are supposed to use byebug for ruby 2+. |
swap byebug for debugger in gemspec, see cldwalker/debugger#125
swap byebug for debugger in gemspec, see cldwalker/debugger#125
- 2.1.2 is recommended on Heroku: https://devcenter.heroku.com/changelog-items/468 - `debugger` gem does not build on 2.1.2; switching to `byebug` `bye bug` is the recommended debugger for current Ruby + Rails (see cldwalker/debugger#125 (comment) and rails/rails#14533) - The following commands may help in switching your local version (assuming you use rbenv): rbenv install 2.1.2 rbenv local 2.1.2 gem install bundler bundle
- 2.1.2 is recommended on Heroku: https://devcenter.heroku.com/changelog-items/468 - `debugger` gem does not build on 2.1.2; switching to `byebug` `bye bug` is the recommended debugger for current Ruby + Rails (see cldwalker/debugger#125 (comment) and rails/rails#14533) - The following commands may help in switching your local version (assuming you use rbenv): rbenv install 2.1.2 rbenv local 2.1.2 gem install bundler bundle
A fresh dev install in ruby 2.0 or 2.1 fails when trying to install debugger dependencies. Debugger is not recommended for ruby 2.x (cldwalker/debugger#125)
swap byebug for debugger in gemspec, see cldwalker/debugger#125
pry-debugger depends on debugger, which cannot be installed on ruby>=2.0. An extensive, lengthy and sometimes unerving discussion can be found on cldwalker/debugger#125 On May 16, 2014, cldwalker suggested moving to byebug for rubies>=2. This is reflected in the change to Gemfile. modified: Gemfile
pry-debugger depends on debugger, which cannot be installed on ruby>=2.0. An extensive, lengthy and sometimes unerving discussion can be found on cldwalker/debugger#125 On May 16, 2014, cldwalker suggested moving to byebug for rubies>=2. This is reflected in the change to Gemfile. As it turns out, travisci has problems working with the mri platform directive, so bacd782 has been reworked to resort to simple if-else logic.
it is fixed or still ongoing? every time i try to install pry-byebug or byebug or debugger or debugger2 i get this: ERROR: Failed to build gem native extension. |
The text was updated successfully, but these errors were encountered: