Skip to content

Please fix your dependencies #1645

@paddor

Description

@paddor

YARD seems to be missing dependencies, including rdoc and redcarpet:

$ bundle exec rake doc:yard
/home/user/.gem/ruby/4.0.1/gems/yard-0.9.38/lib/yard/templates/helpers/markup_helper.rb:105: warning: rdoc used to be loaded from the standard library, but is not part of the default gems since Ruby 4.0.0.
You can add rdoc to your Gemfile or gemspec to fix this error.
[error]: Missing 'redcarpet' gem for Markdown formatting. Install it with `gem install redcarpet`

If I add rdoc to my app manually, there's another warning:

/home/user/.gem/ruby/4.0.1/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 guess you also need irb.

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