Hi gang,
Thanks for rvm. It's great!
For what it's worth, Robert is not the only one getting this error.
I'm getting almost exactly the same error and was able to work around
it by using the hack he posted (thank you Robert!). I modified the
makefile so the 'rdoc' task does not do anything.
I would like to echo Robert's request to document a way to disable
rdoc generation during rvm install.
I said "almost" exactly the same error because both of our errors
report a warning "already initialized constant GENERATORS" but after
that, he gets:
undefined method `set_encoding' for RDoc::Parser:Class
and I get:
undefined method `coverage_report' for #<RDoc::Options:0x7841a0>
Clues that might help:
- I don't know about set_encoding, but coverage_report was just added
to RDoc::Options a month and a half ago (Dec 15 checkin, Dec 20
release of rdoc 3.0.1):
https://github.com/rdoc/rdoc/commit/60758303ce33639bb27c1037e8af1d130fa6baaf
- Even though I was installing ruby 1.9.2, rvm ran rdoc from my 1.8.7
installation. Notice the 1.8.7 in the last few lines of the makefile
log:
Generating RDoc documentation
./miniruby -I./lib -I.ext/common -I./- -r./ext/purelib.rb ./tool/
runruby.rb --extout=.ext -- "./bin/rdoc" --no-force-update --all
--ri --op ".ext/rdoc" "."
/Users/Brian/.rvm/gems/ruby-1.8.7-p330/gems/rdoc-3.4/lib/rdoc/rdoc.rb:
79: warning: already initialized constant GENERATORS
uh-oh! RDoc had a problem:
undefined method `coverage_report' for #<RDoc::Options:0x7841a0>
Brian Morearty
On Dec 31 2010, 6:50 am, "Robert Pankowecki (rupert)"