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

Pry & Irb don't block for input (sometimes...) #5282

andy-twosticks opened this Issue Aug 17, 2018 · 0 comments


None yet
1 participant

andy-twosticks commented Aug 17, 2018


jruby --version

jruby (2.3.3) 2018-04-20 d8b1ff9 OpenJDK 64-Bit Server VM 25.171-b10 on 1.8.0_171-b10 [linux-x86_64]

My impression is that it happens with, also, but the bug is difficult to duplicate, so I can't be 100% sure at this point.

uname -a

Linux 3.10.0-862.3.3.el7.x86_64 #1 SMP Fri Jun 15 04:15:27 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

Expected Behavior

  • Running pry or irb from the command line should block for input, that is, not immediately exit.

  • Inserting a binding.pry in your code should block for input.

Actual Behavior

Sometimes it doesn't.

When I start a new session everything is fine, but I will reach the point where pry and irb no longer block for input; from that point on, they never do. The workaround is to close the terminal session and start a new one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment