yard spews error on LICENSE #31

docwhat opened this Issue Feb 23, 2012 · 2 comments


None yet

4 participants


When doing a gem install with yard installed I get this message:

Installing ri documentation for childprocess-0.3.1...
Building YARD (yri) index for childprocess-0.3.1...
[error]: ParserSyntaxError: syntax error in `LICENSE`:(1,18): syntax error, unexpected tINTEGER, expecting $end
[error]: Stack trace:
    /Users/docwhat/.rvm/gems/ruby-1.9.3-p0/gems/yard-0.7.5/lib/yard/parser/ruby/ruby_parser.rb:517:in `on_parse_error'
    /Users/docwhat/.rvm/gems/ruby-1.9.3-p0/gems/yard-0.7.5/lib/yard/parser/ruby/ruby_parser.rb:49:in `parse'
    /Users/docwhat/.rvm/gems/ruby-1.9.3-p0/gems/yard-0.7.5/lib/yard/parser/ruby/ruby_parser.rb:49:in `parse'
    /Users/docwhat/.rvm/gems/ruby-1.9.3-p0/gems/yard-0.7.5/lib/yard/parser/ruby/ruby_parser.rb:15:in `parse'
    /Users/docwhat/.rvm/gems/ruby-1.9.3-p0/gems/yard-0.7.5/lib/yard/parser/source_parser.rb:438:in `parse'
    /Users/docwhat/.rvm/gems/ruby-1.9.3-p0/gems/yard-0.7.5/lib/yard/parser/source_parser.rb:361:in `parse_in_order'

ERROR:  While generating documentation for childprocess-0.3.1
... MESSAGE:   uninitialized fiber
... YARDDOC args: -c -n --quiet lib
(continuing with the rest of the installation)

Ruby: 1.9.3-p0 and 1.9.2-p290
Yard: 0.7.5


I have the same problem, which in my case, occurs when attempting to install the rollout gem.

Any solution yet?


Stumbled across your ticket when fixing for @pengwynn/octokit. Here's the fix: octokit/octokit.rb@ae54cdd

@jarib jarib closed this in 6c263c2 Jul 20, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment