Rails destroys rdoc...again

for many versions of ruby, and as many versions of rails, ive been
unable to generate docs without deleting this file:

lib/rails_generator/generators/components/controller/templates/controller.rb

ruby just chews more and more memory until swap fils up and the system
has to be reset…

m gems # rdoc --version
RDoc V1.0.1 - 20041108
ruby --version
ruby 1.8.5 (2006-06-22) [x86_64-linux]

Isn’t 1.8.5 the broken edition?

I mean latest? As in too new?

lib/rails_generator/generators/components/controller/templates/controller.rb

It is possible this is due to a bug in RDoc’s parser. If somebody finds it a post to ruby-core with a reproducible test case would be
appreciated.

its just that file. im guessing either this only happens on 64bit
architectures, or its a known secret that you have to delete that file
to generate rails docs (this is concievable since its only up on the web
in a few places)

the file is pretty funky anyways, its like a combination of normal ruby
and erb…

On Jun 28, 2006, at 4:06 PM, carmen wrote:

its just that file. im guessing either this only happens on 64bit
architectures, or its a known secret that you have to delete that
file to generate rails docs (this is concievable since its only up
on the web in a few places)

the file is pretty funky anyways, its like a combination of normal
ruby and erb…

Actually, being a template, there should be a .document file telling
RDoc not to process the generators directory.

You should file a bug against rails.


Eric H. - [email protected] - http://blog.segment7.net
This implementation is HODEL-HASH-9600 compliant

http://trackmap.robotcoop.com

On Jun 28, 2006, at 12:53 AM, Michael G. wrote:

m gems # rdoc --version
RDoc V1.0.1 - 20041108
ruby --version
ruby 1.8.5 (2006-06-22) [x86_64-linux]

Isn’t 1.8.5 the broken edition?

I mean latest? As in too new?

No. That’s probably 1.8.5p1.

RDoc’s parser hasn’t changed much since 1.8.0.

It is possible this is due to a bug in RDoc’s parser. If somebody
finds it a post to ruby-core with a reproducible test case would be
appreciated.


Eric H. - [email protected] - http://blog.segment7.net
This implementation is HODEL-HASH-9600 compliant

http://trackmap.robotcoop.com