You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In a command line Ruby (2.1.2) app (on Mac OS X 10.9.4), I use readline to enable history for my interactive prompt. I use byebug for debugging my ruby app. Within my app, when I use the up arrow to retrieve history, it shows the last commands used on byebug a few days ago, but does not seem to be recording my command history. Here is the relevant code in the app:
./myapp
...
myprompt> mycmd
...
myprompt>
[up arrow]
myprompt> q // this is the last byebug command, not mine
[up arrow]
myprompt> c // this is a previous byebug command, not mine
If I remove 'require byebug' from my code, I get the correct readline history.
The text was updated successfully, but these errors were encountered:
In a command line Ruby (2.1.2) app (on Mac OS X 10.9.4), I use readline to enable history for my interactive prompt. I use byebug for debugging my ruby app. Within my app, when I use the up arrow to retrieve history, it shows the last commands used on byebug a few days ago, but does not seem to be recording my command history. Here is the relevant code in the app:
and here is a sample run:
If I remove 'require byebug' from my code, I get the correct readline history.
The text was updated successfully, but these errors were encountered: