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

irb history doesn't work on RubyInstaller-2.6.x #158

Closed
larskanis opened this issue Sep 11, 2019 · 0 comments
Closed

irb history doesn't work on RubyInstaller-2.6.x #158

larskanis opened this issue Sep 11, 2019 · 0 comments

Comments

@larskanis
Copy link
Member

larskanis commented Sep 11, 2019

What problems are you experiencing?

When running irb of a fresh install of ruby-2.6.4, it doesn't keep the readline history. So commands entered in one irb session are lost of irb is started a second time. It however works in ruby-2.5.6.

Steps to reproduce

  • Install ruby-2.6.4
  • run irb in cmd and enter some lines
  • run irb a second time and try to use cursor keys to select a line from the previous session

What's the output from ridk version?

ruby:
  path: C:/Ruby26-x64
  version: 2.6.4
  platform: x64-mingw32
ruby_installer:
  package_version: 2.6.4-1
  git_commit: 8f0b0b4
msys2:
  path: C:\Ruby26-x64\msys64
cc: x86_64-w64-mingw32-gcc (Rev2, Built by MSYS2 project) 9.2.0
sh: GNU bash, Version 4.4.23(1)-release (x86_64-pc-msys)
os: Microsoft Windows [Version 10.0.17763.720]

The content of irb.cmd changed in ruby-2.6, so that this patch needs to be updated.

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

No branches or pull requests

1 participant