-
Notifications
You must be signed in to change notification settings - Fork 139
Closed
Labels
Description
On Ruby 3.3, ask()
causes the following error:
/path/to/gems/ruby-3.3.1/gems/highline-3.0.1/lib/highline/terminal.rb:115:in `readline_read': uninitialized constant HighLine::Terminal::Readline (NameError)
Readline.completion_proc = lambda do |str|
^^^^^^^^
Did you mean? Reline
from /path/to/ruby-3.3.1/gems/highline-3.0.1/lib/highline/terminal.rb:100:in `get_line_with_readline'
from /path/to/ruby-3.3.1/gems/highline-3.0.1/lib/highline/terminal.rb:87:in `get_line'
from /path/to/ruby-3.3.1/gems/highline-3.0.1/lib/highline.rb:541:in `get_line'
from /path/to/ruby-3.3.1/gems/highline-3.0.1/lib/highline.rb:525:in `get_response_line_mode'
from /path/to/ruby-3.3.1/gems/highline-3.0.1/lib/highline/question.rb:534:in `get_response'
from /path/to/ruby-3.3.1/gems/highline-3.0.1/lib/highline/question.rb:546:in `get_response_or_default'
from /path/to/ruby-3.3.1/gems/highline-3.0.1/lib/highline/question_asker.rb:31:in `ask_once'
from /path/to/ruby-3.3.1/gems/highline-3.0.1/lib/highline.rb:222:in `ask'
Renaming Readline
calls to Reline
seems to fix the issue, but I'm not familiar with the codebase.
abinoam