Hi,
Thanks, but...
I deleted the rdoc dir from ruby\lib\ruby\1.8 (there was nothing under
site_ruby). Reran rdoc (rdoc -H -N --ri --op c:\.rdoc) and got (besides
a lot of "No definition for..." messages) the ubiquitous:
c:/langs/ruby/lib/ruby/1.8/yaml/rubytypes.rb:315: [BUG] Segmentation
fault
ruby 1.8.1 (2003-12-25) [i386-mswin32]
This application has requested the Runtime to terminate it in an
unusual way.
Please contact the application's support team for more information.
Any more ideas? I'm willing to try them all.
Cheers,
Assaph
-----Original Message-----
From: Gavin Sinclair [mailto:gsinclair@xxxxxxxxxxxxxxx]
Sent: Thursday, 18 March 2004 12:29 AM
To: Mehr, Assaph (Assaph)
Subject: Re: Possible rdoc bug
On Tuesday, March 16, 2004, 3:05:48 PM, Assaph wrote:
> Hi all,
> I tried running rdoc over the ruby sources. Got an exception (details
at
> end).
> I tried changing output format and just got a different error...
> When I tried patching the code, I managed to make it segfault instead
of
> just throwing an exception...
> Is this just me or is this a bug in rdoc?
> What do I need to do to make it run?
> Version:
> =======
c:\>>ruby -v
> ruby 1.8.1 (2003-12-25) [i386-mswin32]
c:\>>rdoc -v
> RDoc V1.0pr1: 2003/12/01 07:12:48 (1.1)
I suggest the following:
* manually remove any existing RDoc installation (check site_ruby)
* download and install latest Ruby (this includes RDoc)
* run your stuff again
That's a magic incantation that commonly works. It's a shame it's
needed so often, but that's just a growing pain for a little while.
Naturally, let us know whether this makes a difference.
Cheers,
Gavin
|