From: Robert Klemme Date: 2011-07-21T00:43:31+09:00 Subject: Re: error building ruby p290 On Wed, Jul 20, 2011 at 5:32 PM, Dev Guy wrote: > i currently have ruby 1.9.2p136 install with rdoc 3.8 > > On Wed, Jul 20, 2011 at 11:27 AM, Dev Guy wrote: >> I get the following build error on my Linux box while trying to build >> ruby-1.9.2-p290, how to fix? it look like a issues with RDoc >> >> make[1]: Entering directory `/opt/ruby-1.9.2-p290' >> gcc -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses >> -Wpointer-arith -Wwrite-strings -Wno-missing-field-initializers >> -Wno-long-long -L.  -rdynamic -Wl,-export-dynamic   main.o  -Wl,-R >> -Wl,/usr/local/lib -L/usr/local/lib -lruby-static -lpthread -lrt -ldl >> -lcrypt -lm   -o ruby >> make[1]: Leaving directory `/opt/ruby-1.9.2-p290' >> 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"  "." >> /usr/local/lib/ruby/gems/1.9.1/gems/rdoc-3.8/lib/rdoc/rdoc.rb:79: >> warning: already initialized constant GENERATORS >> uh-oh! RDoc had a problem: >> undefined method `coverage_report' for # >> >> run with --debug for full backtrace >> make: *** [rdoc] Error 1 >> root@six9:/opt/ruby-1.9.2-p290# Obviously the wrong rdoc is invoked. Strange, this did not happen to me. Maybe someone who knows the build process can comment. In the meantime can you post your environment? Kind regards robert -- remember.guy do |as, often| as.you_can - without end http://blog.rubybestpractices.com/