Skip to content

RDoc parser error on gem update #56

@adamtait

Description

@adamtait

Not sure if this error really pertains to RDoc or not, but the link from running a 'gem update' on OSX 10.6.8, it lead me to file a bug report here.

Below is the trace (also includes RDoc and Ruby versions):

Installing ri documentation for bundler-1.0.15...
While parsing markup, RDoc encountered a RDoc::Markup::Parser::ParseError:

expected NEWLINE got [:BULLET, "*", 0, 2]
    from /Library/Ruby/Gems/1.8/gems/rdoc-3.9/lib/rdoc/markup/parser.rb:378:in `skip'
    from /Library/Ruby/Gems/1.8/gems/rdoc-3.9/lib/rdoc/markup/parser.rb:91:in `build_heading'
    from /Library/Ruby/Gems/1.8/gems/rdoc-3.9/lib/rdoc/markup/parser.rb:337:in `parse'
    from /Library/Ruby/Gems/1.8/gems/rdoc-3.9/lib/rdoc/markup/parser.rb:61:in `parse'
    from /Library/Ruby/Gems/1.8/gems/rdoc-3.9/lib/rdoc/text.rb:111:in `parse'
    from /Library/Ruby/Gems/1.8/gems/rdoc-3.9/lib/rdoc/any_method.rb:94:in `marshal_dump'
    from /Library/Ruby/Gems/1.8/gems/rdoc-3.9/lib/rdoc/ri/store.rb:350:in `dump'
    from /Library/Ruby/Gems/1.8/gems/rdoc-3.9/lib/rdoc/ri/store.rb:350:in `save_method'
    from /Library/Ruby/Gems/1.8/gems/rdoc-3.9/lib/rdoc/generator/ri.rb:45:in `generate'
    from /Library/Ruby/Gems/1.8/gems/rdoc-3.9/lib/rdoc/context.rb:762:in `each_method'
    from /Library/Ruby/Gems/1.8/gems/rdoc-3.9/lib/rdoc/context.rb:762:in `each'
    from /Library/Ruby/Gems/1.8/gems/rdoc-3.9/lib/rdoc/context.rb:762:in `each_method'
    from /Library/Ruby/Gems/1.8/gems/rdoc-3.9/lib/rdoc/generator/ri.rb:43:in `generate'
    from /Library/Ruby/Gems/1.8/gems/rdoc-3.9/lib/rdoc/generator/ri.rb:38:in `each'
    from /Library/Ruby/Gems/1.8/gems/rdoc-3.9/lib/rdoc/generator/ri.rb:38:in `generate'
    from /Library/Ruby/Gems/1.8/gems/rdoc-3.9/lib/rdoc/rdoc.rb:478:in `generate'
    from /Library/Ruby/Gems/1.8/gems/rdoc-3.9/lib/rdoc/rdoc.rb:470:in `chdir'
    from /Library/Ruby/Gems/1.8/gems/rdoc-3.9/lib/rdoc/rdoc.rb:470:in `generate'
    from /Library/Ruby/Gems/1.8/gems/rdoc-3.9/lib/rdoc/rdoc.rb:453:in `document'
    from /Library/Ruby/Site/1.8/rubygems/doc_manager.rb:189:in `run_rdoc'
    from /Library/Ruby/Site/1.8/rubygems/doc_manager.rb:156:in `install_ri'
    from /Library/Ruby/Site/1.8/rubygems/doc_manager.rb:116:in `generate_ri'
    from /Library/Ruby/Site/1.8/rubygems/commands/update_command.rb:86:in `execute'
    from /Library/Ruby/Site/1.8/rubygems/commands/update_command.rb:85:in `each'
    from /Library/Ruby/Site/1.8/rubygems/commands/update_command.rb:85:in `execute'
    from /Library/Ruby/Site/1.8/rubygems/command.rb:278:in `invoke'
    from /Library/Ruby/Site/1.8/rubygems/command_manager.rb:147:in `process_args'
    from /Library/Ruby/Site/1.8/rubygems/command_manager.rb:117:in `run'
    from /Library/Ruby/Site/1.8/rubygems/gem_runner.rb:65:in `run'
    from /usr/bin/gem:21

---8<---
How does the new system work?
===
* Load information from Gemfile and Lockfile
* Invalidate stale locked specs
  * All specs from stale source are stale
  * All specs that are reachable only through a stale
    dependency are stale.
* If all fresh dependencies are satisfied by the locked
  specs, then we can try to resolve locally.
---8<---

RDoc 3.9

Ruby 1.8.7-p174 2009-06-12

Please file a bug report with the above information at:

http://rubyforge.org/tracker/?atid=2472&group_id=627&func=browse

ERROR:  While generating documentation for bundler-1.0.15
... MESSAGE:   expected NEWLINE got [:BULLET, "*", 0, 2]
... RDOC args: --ri --op /Library/Ruby/Gems/1.8/doc/bundler-1.0.15/ri lib --title bundler-1.0.15 Documentation --quiet

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