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

Use modern pry/pry-byebug on Rubies that support it #1406

Merged
merged 1 commit into from
Mar 16, 2021

Conversation

ivoanjo
Copy link
Member

@ivoanjo ivoanjo commented Mar 12, 2021

The old pry-nav is basically abandoned at this point, see nixme/pry-nav#35 and nixme/pry-nav#33 and the README points to pry-byebug: https://github.com/nixme/pry-nav#using-mri-we-recommend-pry-byebug-instead.

Because of our usual support matrix of old Rubies, I've kept pry-nav around for older versions.

I've also added pry-debugger-jruby, which is a nicer alternative for JRuby.

This setup works correctly for all Rubies: 2.0 to 3.0, JRuby and even TruffleRuby.

@ivoanjo ivoanjo requested a review from a team March 12, 2021 12:11
The old `pry-nav` is basically abandoned at this point, see
<nixme/pry-nav#35> and
<nixme/pry-nav#33> and the README points to
`pry-byebug`:
<https://github.com/nixme/pry-nav#using-mri-we-recommend-pry-byebug-instead>.

Because of our usual support matrix of old Rubies, I've kept `pry-nav`
around for older versions.

I've also added `pry-debugger-jruby`, which is a nicer alternative for
JRuby.

This setup works correctly for all Rubies: 2.0 to 3.0, JRuby and even
TruffleRuby.
Copy link
Member

@marcotc marcotc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was such a headache last time we tried to clean up the Gemfile, thank you for this work! 🙇

@ivoanjo ivoanjo merged commit 772c2c1 into master Mar 16, 2021
@ivoanjo ivoanjo deleted the ivoanjo/upgrade-pry-and-debugger-gems branch March 16, 2021 08:48
@github-actions github-actions bot added this to the 0.47.0 milestone Mar 16, 2021
@marcotc marcotc added the dev/testing Involves testing processes (e.g. RSpec) label Mar 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dev/testing Involves testing processes (e.g. RSpec)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants