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

Already on GitHub? Sign in to your account

Parsing problem #63

juanremi opened this Issue Sep 19, 2013 · 5 comments


None yet
5 participants

hi, i try to install this gem and i receive the next errror:

C:\Users\username>gem install treat --version 2.0.7
Thanks for installing Treat.
To complete the installation, run require treat in an IRB
terminal, followed by Treat::Core::Installer.install.
Successfully installed treat-2.0.7
Parsing documentation for treat-2.0.7

RDoc::Parser::Ruby failure around line 214 of

Before reporting this, could you check that the file you're documenting
has proper syntax:

C:/Ruby200-x64/bin/ruby.exe -c lib/treat/entities/entity/buildable.rb

RDoc is not a full Ruby parser and will fail when fed invalid ruby programs.

The internal error was:

    (NoMethodError) undefined method `name' for {TkNL 5521, 213:40 "\n"}:RDo


ERROR: While executing gem ... (NoMethodError)
undefined method `name' for {TkNL 5521, 213:40 "\n"}:RDoc::RubyToken::TkNL


thanks for help me

aantix commented Dec 8, 2013

Received this as well. 👍

aantix commented Dec 8, 2013

I just skipped the rdocs.
gem install treat --no-rdoc --no-ri

yochze commented Feb 17, 2014

Got that on OS X as well, @aantix tip helped.

given the error trace then it looks like the newlines partway through the module name are causing rdoc to barf - i've just committed a tweak in my fork which has now been pulled in

louismullie added a commit that referenced this issue Feb 19, 2014


agarie commented Jun 8, 2015

Shouldn't this issue be closed?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment