Skip to content

Add irb as dependency to avoid warning in Ruby v4.0 #1636

@floehopper

Description

@floehopper

I'm seeing the following warning in Mocha in Ruby v4.0:

/usr/local/bundle/gems/yard-0.9.38/lib/yard/parser/ruby/legacy/irb/slex.rb:13: warning: irb/notifier is found in irb, which is not part of the default gems since Ruby 4.0.0. You can add irb to your Gemfile or gemspec to fix this error.

I've fixed this temporarily in freerange/mocha@a0fc779 but I think it should probably be fixed in Yard by adding a dependency to the gemspec.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions