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
Pry 0.14.1 doesn't load history from the history file as it's supposed to. It's necessary to call "Pry.history.load" manually for history to be loaded.
The issue is reproducible in a plain debian docker image.
docker run -it debian:bullseye
# From now, inside container
cd
apt update && apt install -y rubygems
gem install --user-install pry
echo "Pry.config.history_file = '.pry_history'" >.pryrc
~/.local/share/gem/ruby/2.7.0/bin/pry
# enter some commands into pry then exit
# verify that the history is being written out
cat .pry_history
# Start pry again
~/.local/share/gem/ruby/2.7.0/bin/pry
# Press Ctrl-P and notice that history is missing
# If we enter the manual command "Pry.history.load", things work again
The text was updated successfully, but these errors were encountered:
Pry 0.14.1 doesn't load history from the history file as it's supposed to. It's necessary to call "Pry.history.load" manually for history to be loaded.
The issue is reproducible in a plain debian docker image.
The text was updated successfully, but these errors were encountered: