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

History not available #1054

Open
glaucocustodio opened this issue Dec 30, 2023 · 0 comments
Open

History not available #1054

glaucocustodio opened this issue Dec 30, 2023 · 0 comments

Comments

@glaucocustodio
Copy link

glaucocustodio commented Dec 30, 2023

  • ruby -v: ruby 3.3.0 (2023-12-25 revision 5124f9ac75) [arm64-darwin21]
  • gem list debug: debug (1.9.1)
  • gem list rails: rails (7.1.2)
  • gem list irb: irb (default: 1.11.0)

Describe the bug
Command history is forgotten after restarting rails console

To Reproduce

  • open rails console
  • issue anything (eg: 1+1)
  • issue history, you must see the two commands
  • exit rails console
  • open rails console again
  • press up arrow (it should bring back last executed command), but none is returned
  • issue history, history is empty

ps: it works as expected when I have pry-byebug (3.10.1) instead of debug (1.9.1) on the application Gemfile

Expected behavior
When pressing up arrow, I should see the last executed command, as it happens with pry-byebug.

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

No branches or pull requests

1 participant