On Wed, Jul 20, 2011 at 11:43 AM, Robert Klemme
<shortcutter / googlemail.com> wrote:
> 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. =A0Strange, this did not happen to
> me. =A0Maybe someone who knows the build process can comment. =A0In the
> meantime can you post your environment?
>
> Kind regards
>
> robert
>
> --
> remember.guy do |as, often| as.you_can - without end
> http://blog.rubybestpractices.com/
>

my evn: i have rdoc 3.8 installed, still getting build error?

$ uname -a
Linux six9 2.6.35-30-generic #54-Ubuntu SMP Tue Jun 7 18:41:54 UTC
2011 x86_64 GNU/Linux

$ gem -v
1.8.5

$ ruby -v
ruby 1.9.2p136 (2010-12-25 revision 30365) [x86_64-linux]

--=20
Kind Regards,
Rajinder Yadav | DevMentor.org | Do Good! ~ Share Freely