Skip to content

JOB-172614 Update pry to allow unblock Ruby 4.0#37

Merged
leehoworko merged 1 commit into
masterfrom
JOB-172614/update-pry
Jun 12, 2026
Merged

JOB-172614 Update pry to allow unblock Ruby 4.0#37
leehoworko merged 1 commit into
masterfrom
JOB-172614/update-pry

Conversation

@leehoworko

@leehoworko leehoworko commented Jun 12, 2026

Copy link
Copy Markdown
Contributor

The current version of pry has a dependency on the readline gem which is a default gem in Ruby < 4. With the release of Ruby 4.0, the readline gem has been "promoted" to become a bundled gem because Ruby is swapping to use reline in it's place -- a Ruby only rewrite to avoid requiring the readline binary.

How this matters for us, pry ~> 0.15 depends on readline. So to get to Ruby 4 we have two options: explicity include readline in the Gemfile, or update pry to a version that depends on reline. This is the second approach

Note

Upgrading Pry to 0.16 drops support for Ruby 2.6

@leehoworko leehoworko merged commit 5c6db9c into master Jun 12, 2026
1 check passed
@leehoworko leehoworko deleted the JOB-172614/update-pry branch June 12, 2026 15:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants