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
Hitting TAB causes a crash on ruby 2.7 (but not on ruby 2.5) #654
Comments
terceiro
added a commit
to terceiro/byebug
that referenced
this issue
Mar 30, 2020
When IRB from ruby 2.7 is loaded, it installs a Readline completion proc that assumes IRB is running (and crashes otherwise). Workaround this by clearing the Readline completion when using it directly. Fixes deivid-rodriguez#654
terceiro
added a commit
to terceiro/byebug
that referenced
this issue
Mar 30, 2020
When IRB from ruby 2.7 is loaded, it installs a Readline completion proc that assumes IRB is running (and crashes otherwise). Workaround this by clearing the Readline completion when using it directly. Fixes deivid-rodriguez#654
+1 |
terceiro
added a commit
to terceiro/byebug
that referenced
this issue
Apr 13, 2020
When IRB from ruby 2.7 is loaded, it installs a Readline completion proc that assumes IRB is running (and crashes otherwise). Workaround this by clearing the Readline completion when using it directly. Fixes deivid-rodriguez#654
deivid-rodriguez
pushed a commit
to terceiro/byebug
that referenced
this issue
Apr 14, 2020
When IRB from ruby 2.7 is loaded, it installs a Readline completion proc that assumes IRB is running (and crashes otherwise). Workaround this by clearing the Readline completion when using it directly. Fixes deivid-rodriguez#654
deivid-rodriguez
pushed a commit
to terceiro/byebug
that referenced
this issue
Apr 14, 2020
When IRB from ruby 2.7 is loaded, it installs a Readline completion proc that assumes IRB is running (and crashes otherwise). Workaround this by clearing the Readline completion when using it directly. Fixes deivid-rodriguez#654
Same for ruby 2.6 btw. |
deivid-rodriguez
pushed a commit
to terceiro/byebug
that referenced
this issue
Apr 16, 2020
When IRB from ruby 2.7 is loaded, it installs a Readline completion proc that assumes IRB is running (and crashes otherwise). Workaround this by clearing the Readline completion when using it directly. Fixes deivid-rodriguez#654
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Problem description
Debian is at the moment transitioning between ruby2.5 and ruby2.7. I switched my own system to try to find issues on my daily usage, and hit this issue with byebug. This looks similar to #62, but since I now have a way of reproducing the problem, I thought of opening a new issue.
I found this first on my own user account. I suspected it would have something to do with my
~/.irbrc
, and then I tried on a clean user account, and on a fresh docker container, all with the same results.Steps to reproduce the problem
the log below was slightly edited to fit the text width here, but it's real.
I also tried by installing byebug via rubygems, with the same results:
The text was updated successfully, but these errors were encountered: