Skip to content

Conversation

@nobu
Copy link
Member

@nobu nobu commented Sep 15, 2021

Currently, the .rdoc_options file generated by --write-options is not loadable.

$ rm -f .rdoc_options 

$ unset RDOCOPT

$ ruby -I./lib exe/rdoc --write-options

$ grep ^exclude: .rdoc_options 
exclude: !ruby/regexp /~\z|\.orig\z|\.rej\z|\.bak\z|\.gemspec\z/

$ ruby -I./lib exe/rdoc
uh-oh! RDoc had a problem:
Tried to load unspecified class: Regexp

run with --debug for full backtrace

@nobu nobu marked this pull request as draft September 15, 2021 09:07
@nobu nobu added the bug label Feb 8, 2022
@nobu nobu marked this pull request as ready for review February 12, 2022 06:48
So that the generated `.rdoc_options` file is loadable.
@nobu nobu merged commit adee2ba into ruby:master Feb 12, 2022
@nobu nobu deleted the options branch February 12, 2022 07:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant