ruby 4.0.0 compatibility & readline/reline#79
Conversation
- replaces readline with reline - add reline as dependency
- reflect the reline/readline change - use ruby alpine image instead of installing ruby in an alpine image
|
@OscarAkaElvis Migration from readline to reline on that specific issue is something you already studied in 2022 with postmodern: ruby/reline#444 The issue was fixed in late 2024 by ruby/reline#782 There is no longer |
|
Yeah, we were aware of that issue and that it was resolved... but now, before accepting this PR, we need to figure out how to make the remote path completion to work using Reline. Otherwise we'll not be able to accept the PR as we don't want to lose features. Hopefully we'll achieve it. Give us some time. Now I'll check the Dockerfile and I'll be back with some feedback if needed. Thanks! |
|
hey @noraj , we (the team) were doing some tests trying to make the remote autocompletion to work but we obtained poor results... very basic completion, but no absolute path completions, no completions when spaces are in place etc... I mean, the results of using Reline for remote path autocompletion seems to not be very reliable. What is the purpose of this? just to be able to use bundle 4.0 with Evil-WinRM? ok, then I guess that we can do what you proposed in the first PR, just adding reline to the gemspec file as it will no longer be part of the Ruby default included gems in modern ruby versions... ok but that's all. I mean, we can set it in the gemspec and keep using readline, can't we? |
|
Those are not related to readline / reline change, but just the use of the winrm gem on more recent version of ruby like ruby 4.0.0. This is upstream issue that we should report at https://github.com/WinRb/WinRM/issues.
Again, it is not related to readline / reline change but to the use of recent rexml version with winrm gem. It's a know issue: WinRb/WinRM#355. |
Yeah I guess if we can't find a way to get suitable auto-completion with reline, we could dodge this PR and just add |
|
yeah ok, let's leave this open as draft to see if we can make it work... but if not, we can do the readline addition in gemspec. And regarding the Rexml warnings... ok, hopefully they will fix them soon. Seems out of our hands. |





cleaner commit history of PR #77
replaces #77
see #77 for discussion history