Hi all,
I have been trying to run RDoc on the source distribution of Ruby 1.8.0.
$ rdoc --version
RDoc V0.9.0: 2003/03/10 03:50:33 (1.70)
$ rdoc --op rdoc
class.c:
struct.c:
dmyext.c:
…
After parsing all source files (about 20 minutes) and printing
"Generating HTML…", RDoc exits with the following error message:
/usr/local/lib/ruby/site_ruby/1.8/rdoc/generators/html_generator.rb:371:in build_method_detail_list': undefined method
as_href’ for nil:NilClass (NoMethodError)
from /usr/local/lib/ruby/site_ruby/1.8/rdoc/generators/html_generator.rb:368:in map' from /usr/local/lib/ruby/site_ruby/1.8/rdoc/generators/html_generator.rb:368:in
build_method_detail_list’
from /usr/local/lib/ruby/site_ruby/1.8/rdoc/generators/html_generator.rb:357:in each' from /usr/local/lib/ruby/site_ruby/1.8/rdoc/generators/html_generator.rb:357:in
build_method_detail_list’
from /usr/local/lib/ruby/site_ruby/1.8/rdoc/generators/html_generator.rb:355:in each' from /usr/local/lib/ruby/site_ruby/1.8/rdoc/generators/html_generator.rb:355:in
build_method_detail_list’
from /usr/local/lib/ruby/site_ruby/1.8/rdoc/generators/html_generator.rb:354:in each' from /usr/local/lib/ruby/site_ruby/1.8/rdoc/generators/html_generator.rb:354:in
build_method_detail_list’
… 7 levels…
from /usr/local/lib/ruby/site_ruby/1.8/rdoc/generators/html_generator.rb:1053:in generate_html' from /usr/local/lib/ruby/site_ruby/1.8/rdoc/generators/html_generator.rb:979:in
generate’
from /usr/local/lib/ruby/site_ruby/1.8/rdoc/rdoc.rb:210:in `document’
from /usr/local/bin/rdoc:6
I then ran RDoc on each subdirectory in lib, to find out which module
triggered the error. RDoc fails on lib/webrick.
Running RDoc on one file at a time in lib/webrick does not trigger the
error.
I don’t know whether RDoc was designed to be run on the entire Ruby
source, so perhaps I am making a mistake by trying to use it that way. 
Perhaps someone has already managed to run RDoc (or some other
documentation tool on Ruby 1.8.0 and made it available online?
Jonas Lindström
Let me look at this when I get back off the road.
Dave
···
On Nov 7, 2003, at 6:03, Jonas Lindström wrote:
Hi all,
I have been trying to run RDoc on the source distribution of Ruby
1.8.0.
Version 0.6.0 of FreeRIDE has been released and is available for download!
For details and downloads, go to:
http://freeride.rubyforge.org/
This is primarily a maintenance release. Lot’s of bugs have been fixed and
some code refactoring was done to provide a better platform for future
development. There were also a number of editing and navigation
enhancements. Among the most significant additions were Find & Replace and
Code-Folding (see the ChangeLog? for a complete list). you can download
FreeRIDE [here].
The Window’s version still runs FreeRIDE with its own private copy of Ruby
(that will not interfere with your installed version), but this private copy
of Ruby is now version 1.8.0.
=== FreeRIDE Overview ===
FreeRIDE aims to be a full-featured, first-class IDE on a par with those
available for other languages, with all the best-of-breed features that you
would expect in a high-end IDE.
Some of FreeRIDE’s features include:
- Multi-file editing
- Syntax highlighting
- Auto-indenting
- Code Folding
- Source navigation by module, class, method, etc.
- Integrated debugging
- Written in Ruby for easy extension
Some planned features include:
- Full internationalization
- High-end refactoring support
- Remote pair programming
In its current state, FreeRIDE cannot yet be called a real IDE. What is does
have is a stable infrastructure with all the working plumbing needed for the
hordes of anxious Ruby developers that want to create plugins to extend the
functionality of FreeRIDE. The FreeRIDE team will be working on such
FreeRIDE plugins that we will individually release to incrementally improve
the FreeRIDE system. Periodically we will rollup these added plugins into
new releases of FreeRIDE.
Even if you have not officially joined the FreeRIDE team you can still
create plugins for you own use, share them with others, or send them to us
and we will make them available for download from our project wiki. We may
even ask for your permission to include them in the FreeRIDE core
distribution.
“Curt Hibbs” curt@hibbs.com wrote in message news:INEGJNJOFAMNDPNEABNEEEIHIEAA.curt@hibbs.com…
The Window’s version still runs FreeRIDE with its own private copy of Ruby
(that will not interfere with your installed version), but this private copy
of Ruby is now version 1.8.0.
Does the debugger normally work on Win32 ? I ask because on my system
it freezes the IDE and i have to kill FreeRide via the task manager.
gabriele renzi wrote:
il 9 Nov 2003 22:54:19 -0800, llothar@web.de (Lothar Scholz) ha
scritto::
“Curt Hibbs” curt@hibbs.com wrote in message news:INEGJNJOFAMNDPNEABNEEEIHIEAA.curt@hibbs.com…
The Window’s version still runs FreeRIDE with its own private copy of Ruby
(that will not interfere with your installed version), but this private copy
of Ruby is now version 1.8.0.
Does the debugger normally work on Win32 ? I ask because on my system
it freezes the IDE and i have to kill FreeRide via the task manager.
still not, I’m afraid 
Any idea when this will be working? This is the only thing preventing
me from using FreeRIDE!
Not so soon, I’m afraid.
look here
http://mail.gnu.org/archive/html/freeride-devel/2003-10/msg00008.html
to read the relative messages in the FR mailing list.
BTW, I suppose if you want to hack freeride to fix this it would be
really appreciated 
Remember that this is ruby code not some ugly obfuscated language 
···
il Tue, 11 Nov 2003 15:36:35 +0000, Alan Davies NOSPAMcs96and@yahoo.co.ukNOSPAM ha scritto::
Any idea when this will be working? This is the only thing preventing
me from using FreeRIDE!
Alan Davies wrote:
Any idea when this will be working? This is the only thing preventing
me from using FreeRIDE!
If you need a debugger, the RDT project for Eclipse works pretty well. I
haven’t done any extensive debugging with it, but what I’ve tried works.
Joey
gabriele renzi wrote:
Alan Davies wrote:
Any idea when this will be working? This is the only thing preventing
me from using FreeRIDE!
Not so soon, I’m afraid.
look here
[FR-devel] New FreeRIDE Release & Debugger
to read the relative messages in the FR mailing list.
BTW, I suppose if you want to hack freeride to fix this it would be
really appreciated 
Remember that this is ruby code not some ugly obfuscated language 
Yes, if anyone has the time and interest to help solve this problem it would
most definitely be appreciated, and I’m sure that that Laurent Julliard (the
author of the FreeRIDE debugger) and I would be happy give what ever support
and information we can.
If no one else wants to work on this then it will probably have to wait
until I have more time.
Also, the debugger does work under Linux.
Curt