Open juanbits opened 10 years ago
Received this as well. :+1:
I just skipped the rdocs. gem install treat --no-rdoc --no-ri
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
Shouldn't this issue be closed?
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 byTreat::Core::Installer.install
. Successfully installed treat-2.0.7 Parsing documentation for treat-2.0.7RDoc::Parser::Ruby failure around line 214 of lib/treat/entities/entity/buildable.rb
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:
c::RubyToken::TkNL
ERROR: While executing gem ... (NoMethodError) undefined method `name' for {TkNL 5521, 213:40 "\n"}:RDoc::RubyToken::TkNL
C:\Users\username>
thanks for help me