On Wed, Jul 20, 2011 at 5:32 PM, Dev Guy <devguy.ca / gmail.com> wrote:
> i currently have ruby 1.9.2p136 install with rdoc 3.8
>
> On Wed, Jul 20, 2011 at 11:27 AM, Dev Guy <devguy.ca / gmail.com> 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. =A0-rdynamic -Wl,-export-dynamic =A0 main.o =A0-Wl,-R
>> -Wl,/usr/local/lib -L/usr/local/lib -lruby-static -lpthread -lrt -ldl
>> -lcrypt -lm =A0 -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=3D.ext =A0-- "./bin/rdoc" --no-force-update
>> --all --ri --op ".ext/rdoc" =A0"."
>> /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 #<RDoc::Options:0x00000001966e68>
>>
>> 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

--=20
remember.guy do |as, often| as.you_can - without end
http://blog.rubybestpractices.com/