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? On 6/27/06, carmen <_@whats-your.name> wrote:> 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] > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails >
I mean latest? As in too new? On 6/28/06, Michael Genereux <mgenereu@gmail.com> wrote:> Isn''t 1.8.5 the broken edition? > > On 6/27/06, carmen <_@whats-your.name> wrote: > > 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] > > _______________________________________________ > > Rails mailing list > > Rails@lists.rubyonrails.org > > http://lists.rubyonrails.org/mailman/listinfo/rails > > >
On Jun 28, 2006, at 12:53 AM, Michael Genereux wrote:> On 6/28/06, Michael Genereux <mgenereu@gmail.com> wrote: >> On 6/27/06, carmen <_@whats-your.name> wrote: >> > 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?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 Hodel - drbrain@segment7.net - http://blog.segment7.net This implementation is HODEL-HASH-9600 compliant http://trackmap.robotcoop.com
> >>> 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 Hodel - drbrain@segment7.net - http://blog.segment7.net This implementation is HODEL-HASH-9600 compliant http://trackmap.robotcoop.com