Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

At gem install, YARD spits errors #2

Closed
paradox460 opened this issue Jun 25, 2012 · 1 comment
Closed

At gem install, YARD spits errors #2

paradox460 opened this issue Jun 25, 2012 · 1 comment

Comments

@paradox460
Copy link

At gem installation, yard tries to build docs for it, and spits the following errors:


Building YARD (yri) index for jist-0.7...
[error]: Unhandled exception in YARD::Handlers::Ruby::MethodHandler:
[error]:   in `lib/jist.rb`:26:

    26: def gist(content, options={})

[error]: NoMethodError: undefined method `length' for nil:NilClass
[error]: Stack trace:
    /Users/jeffs/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/yard-0.8.2.1/lib/yard/tags/default_factory.rb:139:in `extract_types_and_name_from_text_unstripped'
    /Users/jeffs/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/yard-0.8.2.1/lib/yard/tags/default_factory.rb:126:in `extract_types_and_name_from_text'
    /Users/jeffs/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/yard-0.8.2.1/lib/yard/tags/default_factory.rb:76:in `parse_tag_with_types_name_and_default'
    /Users/jeffs/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/yard-0.8.2.1/lib/yard/tags/default_factory.rb:88:in `parse_tag_with_options'
    /Users/jeffs/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/yard-0.8.2.1/lib/yard/tags/library.rb:237:in `send_to_factory'
    /Users/jeffs/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/yard-0.8.2.1/lib/yard/tags/library.rb:172:in `option_tag'

[error]: Unhandled exception in YARD::Handlers::Ruby::MethodHandler:
[error]:   in `lib/jist.rb`:45:

    45: def multi_gist(files, options={})

[error]: NoMethodError: undefined method `length' for nil:NilClass
[error]: Stack trace:
    /Users/jeffs/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/yard-0.8.2.1/lib/yard/tags/default_factory.rb:139:in `extract_types_and_name_from_text_unstripped'
    /Users/jeffs/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/yard-0.8.2.1/lib/yard/tags/default_factory.rb:126:in `extract_types_and_name_from_text'
    /Users/jeffs/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/yard-0.8.2.1/lib/yard/tags/default_factory.rb:76:in `parse_tag_with_types_name_and_default'
    /Users/jeffs/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/yard-0.8.2.1/lib/yard/tags/default_factory.rb:88:in `parse_tag_with_options'
    /Users/jeffs/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/yard-0.8.2.1/lib/yard/tags/library.rb:237:in `send_to_factory'
    /Users/jeffs/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/yard-0.8.2.1/lib/yard/tags/library.rb:172:in `option_tag'
@ConradIrwin
Copy link
Owner

Reported upstream: lsegal/yard#563

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants