Any idea why rvm(1.18.15) fails to generate the document for ruby2.0?
$ rvm docs generate
ri documentation, be aware that this could take a long time, and depends heavily on your system resources...
( Errors will be logged to /home/user/.rvm/log/ruby-2.0.0-p0/docs.log )
Generating rdoc documentation, be aware that this could take a long time, and depends heavily on your system resources...
( Errors will be logged to /home/user/.rvm/log/ruby-2.0.0-p0/docs.log )
/home/user/.rvm/scripts/docs: line 81: 6696 Killed rdoc -a -o "${rvm_docs_path:-"$rvm_path/docs"}/$rvm_docs_ruby_string/$rvm_docs_type" > /dev/null 2>> "${rvm_log_path}/$rvm_docs_ruby_string/docs.log"
Below is the content of the docs.log.
uh-oh! RDoc had a problem:
uninitialized constant RDoc::RI::Paths::SITEDIRrun with --debug for full backtrace
Generating Darkfish format into /home/user/.rvm/docs/ruby-2.0.0-p0/rdoc...
uh-oh! RDoc had a problem:
uninitialized constant RDoc::RI::Paths::SITEDIRrun with --debug for full backtrace
Generating Darkfish format into /home/user/.rvm/docs/ruby-2.0.0-p0/rdoc...
this is rdoc
/ ruby
issue:
you can overcome this problem by reinstalling ruby with --docs
flag:
rvm get head
rvm reinstall 2.0.0 --docs