Skip to content

Broken on Ruby 3.5 not built with --with-readline flag #161

@MatzFan

Description

@MatzFan

Running bundle exec guard on Ruby 3.5-preview1 results in:

$ be guard
12:06:12 - INFO - Guard::Minitest 2.4.6 is running, with Minitest::Unit 5.25.5!
12:06:12 - INFO - Guard is now watching at '/home/me/gitlab/riseup_vpn'
Sorry, you can't use Pry without Readline or a compatible library. 
Possible solutions: 
 * Rebuild Ruby with Readline support using `--with-readline` 
 * Use the rb-readline gem, which is a pure-Ruby port of Readline 
 * Use the pry-coolline gem, a pure-ruby alternative to Readline
Error: private method 'readline' called for nil
...

Upstream issue with Pry here.

Workaround is to add rb-readline gem to the project.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions