Skip to content

[Proposal] bundle exec rdoc command should work for rdoc itself #1123

@okuramasafumi

Description

@okuramasafumi

Problem

Currently, running bundle exec rdoc in the repository root causes the following error:

uh-oh! RDoc had a problem:

Directory doc already exists, but it looks like it isn't an RDoc directory.

Because RDoc doesn't want to risk destroying any of your existing files,
you'll need to specify a different output directory name (using the --op <dir>
option)


run with --debug for full backtrace

Solution

That seems caused by doc directory. Inside it there's rdoc/markup_reference.rb file only.
While this file seems to be processed by Rakefile, it doesn't have to exist in doc directory since the file path is hardcoded.
So moving rdoc/markup_reference.rb file into some other place should be enough.

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