Code Monkey home page Code Monkey logo

Comments (5)

arches avatar arches commented on May 29, 2024

Same thing happened to me. I'm on OS X 10.6.7. This started with a 'sudo gem install rails --pre'. It installed 30 dependencies, started installing docs, failed with this error, and asked me to submit a bug here.

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 /Users/chrisdoyle/.rvm/gems/ruby-1.9.2-p290/gems/rdoc-3.9/lib/rdoc/markup/parser.rb:378:in `skip'
    from /Users/chrisdoyle/.rvm/gems/ruby-1.9.2-p290/gems/rdoc-3.9/lib/rdoc/markup/parser.rb:91:in `build_heading'
    from /Users/chrisdoyle/.rvm/gems/ruby-1.9.2-p290/gems/rdoc-3.9/lib/rdoc/markup/parser.rb:337:in `parse'
    from /Users/chrisdoyle/.rvm/gems/ruby-1.9.2-p290/gems/rdoc-3.9/lib/rdoc/markup/parser.rb:61:in `parse'
    from /Users/chrisdoyle/.rvm/gems/ruby-1.9.2-p290/gems/rdoc-3.9/lib/rdoc/text.rb:111:in `parse'
    from /Users/chrisdoyle/.rvm/gems/ruby-1.9.2-p290/gems/rdoc-3.9/lib/rdoc/any_method.rb:94:in `marshal_dump'
    from /Users/chrisdoyle/.rvm/gems/ruby-1.9.2-p290/gems/rdoc-3.9/lib/rdoc/ri/store.rb:350:in `dump'
    from /Users/chrisdoyle/.rvm/gems/ruby-1.9.2-p290/gems/rdoc-3.9/lib/rdoc/ri/store.rb:350:in `save_method'
    from /Users/chrisdoyle/.rvm/gems/ruby-1.9.2-p290/gems/rdoc-3.9/lib/rdoc/generator/ri.rb:45:in `block (2 levels) in generate'
    from /Users/chrisdoyle/.rvm/gems/ruby-1.9.2-p290/gems/rdoc-3.9/lib/rdoc/context.rb:762:in `block in each_method'
    from /Users/chrisdoyle/.rvm/gems/ruby-1.9.2-p290/gems/rdoc-3.9/lib/rdoc/context.rb:762:in `each'
    from /Users/chrisdoyle/.rvm/gems/ruby-1.9.2-p290/gems/rdoc-3.9/lib/rdoc/context.rb:762:in `each_method'
    from /Users/chrisdoyle/.rvm/gems/ruby-1.9.2-p290/gems/rdoc-3.9/lib/rdoc/generator/ri.rb:43:in `block in generate'
    from /Users/chrisdoyle/.rvm/gems/ruby-1.9.2-p290/gems/rdoc-3.9/lib/rdoc/generator/ri.rb:38:in `each'
    from /Users/chrisdoyle/.rvm/gems/ruby-1.9.2-p290/gems/rdoc-3.9/lib/rdoc/generator/ri.rb:38:in `generate'
    from /Users/chrisdoyle/.rvm/gems/ruby-1.9.2-p290/gems/rdoc-3.9/lib/rdoc/rdoc.rb:478:in `block in generate'
    from /Users/chrisdoyle/.rvm/gems/ruby-1.9.2-p290/gems/rdoc-3.9/lib/rdoc/rdoc.rb:470:in `chdir'
    from /Users/chrisdoyle/.rvm/gems/ruby-1.9.2-p290/gems/rdoc-3.9/lib/rdoc/rdoc.rb:470:in `generate'
    from /Users/chrisdoyle/.rvm/gems/ruby-1.9.2-p290/gems/rdoc-3.9/lib/rdoc/rdoc.rb:453:in `document'
    from /Users/chrisdoyle/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems/doc_manager.rb:189:in `run_rdoc'
    from /Users/chrisdoyle/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems/doc_manager.rb:156:in `install_ri'
    from /Users/chrisdoyle/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems/doc_manager.rb:116:in `generate_ri'
    from /Users/chrisdoyle/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems/commands/install_command.rb:148:in `block in execute'
    from /Users/chrisdoyle/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems/commands/install_command.rb:147:in `each'
    from /Users/chrisdoyle/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems/commands/install_command.rb:147:in `execute'
    from /Users/chrisdoyle/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems/command.rb:278:in `invoke'
    from /Users/chrisdoyle/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems/command_manager.rb:147:in `process_args'
    from /Users/chrisdoyle/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems/command_manager.rb:117:in `run'
    from /Users/chrisdoyle/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems/gem_runner.rb:65:in `run'
    from /Users/chrisdoyle/.rvm/rubies/ruby-1.9.2-p290/bin/gem:25:in `<main>'

---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.9.2-p290 2011-07-09

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 /Users/chrisdoyle/.rvm/gems/ruby-1.9.2-p290/doc/bundler-1.0.15/ri lib --title bundler-1.0.15 Documentation --quiet

from rdoc.

arches avatar arches commented on May 29, 2024

Same thing happened to me. I'm on OS X 10.6.7. This started with a 'sudo gem install rails --pre'. It installed 30 dependencies, started installing docs, failed with this error, and asked me to submit a bug here.

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 /Users/chrisdoyle/.rvm/gems/ruby-1.9.2-p290/gems/rdoc-3.9/lib/rdoc/markup/parser.rb:378:in `skip'
    from /Users/chrisdoyle/.rvm/gems/ruby-1.9.2-p290/gems/rdoc-3.9/lib/rdoc/markup/parser.rb:91:in `build_heading'
    from /Users/chrisdoyle/.rvm/gems/ruby-1.9.2-p290/gems/rdoc-3.9/lib/rdoc/markup/parser.rb:337:in `parse'
    from /Users/chrisdoyle/.rvm/gems/ruby-1.9.2-p290/gems/rdoc-3.9/lib/rdoc/markup/parser.rb:61:in `parse'
    from /Users/chrisdoyle/.rvm/gems/ruby-1.9.2-p290/gems/rdoc-3.9/lib/rdoc/text.rb:111:in `parse'
    from /Users/chrisdoyle/.rvm/gems/ruby-1.9.2-p290/gems/rdoc-3.9/lib/rdoc/any_method.rb:94:in `marshal_dump'
    from /Users/chrisdoyle/.rvm/gems/ruby-1.9.2-p290/gems/rdoc-3.9/lib/rdoc/ri/store.rb:350:in `dump'
    from /Users/chrisdoyle/.rvm/gems/ruby-1.9.2-p290/gems/rdoc-3.9/lib/rdoc/ri/store.rb:350:in `save_method'
    from /Users/chrisdoyle/.rvm/gems/ruby-1.9.2-p290/gems/rdoc-3.9/lib/rdoc/generator/ri.rb:45:in `block (2 levels) in generate'
    from /Users/chrisdoyle/.rvm/gems/ruby-1.9.2-p290/gems/rdoc-3.9/lib/rdoc/context.rb:762:in `block in each_method'
    from /Users/chrisdoyle/.rvm/gems/ruby-1.9.2-p290/gems/rdoc-3.9/lib/rdoc/context.rb:762:in `each'
    from /Users/chrisdoyle/.rvm/gems/ruby-1.9.2-p290/gems/rdoc-3.9/lib/rdoc/context.rb:762:in `each_method'
    from /Users/chrisdoyle/.rvm/gems/ruby-1.9.2-p290/gems/rdoc-3.9/lib/rdoc/generator/ri.rb:43:in `block in generate'
    from /Users/chrisdoyle/.rvm/gems/ruby-1.9.2-p290/gems/rdoc-3.9/lib/rdoc/generator/ri.rb:38:in `each'
    from /Users/chrisdoyle/.rvm/gems/ruby-1.9.2-p290/gems/rdoc-3.9/lib/rdoc/generator/ri.rb:38:in `generate'
    from /Users/chrisdoyle/.rvm/gems/ruby-1.9.2-p290/gems/rdoc-3.9/lib/rdoc/rdoc.rb:478:in `block in generate'
    from /Users/chrisdoyle/.rvm/gems/ruby-1.9.2-p290/gems/rdoc-3.9/lib/rdoc/rdoc.rb:470:in `chdir'
    from /Users/chrisdoyle/.rvm/gems/ruby-1.9.2-p290/gems/rdoc-3.9/lib/rdoc/rdoc.rb:470:in `generate'
    from /Users/chrisdoyle/.rvm/gems/ruby-1.9.2-p290/gems/rdoc-3.9/lib/rdoc/rdoc.rb:453:in `document'
    from /Users/chrisdoyle/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems/doc_manager.rb:189:in `run_rdoc'
    from /Users/chrisdoyle/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems/doc_manager.rb:156:in `install_ri'
    from /Users/chrisdoyle/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems/doc_manager.rb:116:in `generate_ri'
    from /Users/chrisdoyle/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems/commands/install_command.rb:148:in `block in execute'
    from /Users/chrisdoyle/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems/commands/install_command.rb:147:in `each'
    from /Users/chrisdoyle/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems/commands/install_command.rb:147:in `execute'
    from /Users/chrisdoyle/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems/command.rb:278:in `invoke'
    from /Users/chrisdoyle/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems/command_manager.rb:147:in `process_args'
    from /Users/chrisdoyle/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems/command_manager.rb:117:in `run'
    from /Users/chrisdoyle/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems/gem_runner.rb:65:in `run'
    from /Users/chrisdoyle/.rvm/rubies/ruby-1.9.2-p290/bin/gem:25:in `<main>'

---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.9.2-p290 2011-07-09

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 /Users/chrisdoyle/.rvm/gems/ruby-1.9.2-p290/doc/bundler-1.0.15/ri lib --title bundler-1.0.15 Documentation --quiet

from rdoc.

arches avatar arches commented on May 29, 2024

Oh and my 1.9.2 install is through rvm

from rdoc.

ciniglio avatar ciniglio commented on May 29, 2024

I hit this today on OS X 10.7 with ruby 1.9.2-p290, you can work around it by forcing an install of rdoc 3.8 before installing rails e.g.

gem install rdoc -v 3.8
gem install rails

from rdoc.

drbrain avatar drbrain commented on May 29, 2024

Fixed

from rdoc.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.