We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c5a64f4 commit ca64d7aCopy full SHA for ca64d7a
lib/rdoc/rubygems_hook.rb
@@ -189,6 +189,9 @@ def generate
189
say "Parsing documentation for #{@spec.full_name}"
190
191
Dir.chdir @spec.full_gem_path do
192
+ # RDoc::Options#finish must be called before parse_files.
193
+ # RDoc::Options#finish is also called after ri/darkfish generator setup.
194
+ # We need to dup the options to avoid modifying it after finish is called.
195
parse_options = options.dup
196
parse_options.finish
197
@rdoc.options = parse_options
0 commit comments