When I try to generatee the application docs using ''rake appdoc'' I keep getting this error: C:\rails\software>rake appdoc (in C:/rails/software) rm -r doc/app rdoc -o doc/app --line-numbers --inline-source --title ''Rails Application Docume ntation'' -T ''html'' doc/README_FOR_APP app/controllers/admin_controller.rb app/co ntrollers/application.rb app/controllers/loginadmin_controller.rb app/controller s/programs_controller.rb app/helpers/admin_helper.rb app/helpers/application_hel per.rb app/helpers/loginadmin_helper.rb app/helpers/programs_helper.rb app/model s/program.rb app/models/user.rb rake aborted! undefined method `exitstatus'' for nil:NilClass Any ideas? -- Chris
Chris Carter wrote:> When I try to generatee the application docs using ''rake appdoc'' I > keep getting this error:...> undefined method `exitstatus'' for nil:NilClass > > Any ideas?It''s apparently a known issue with Rake and the way it invokes rdoc on win32. James
Chris Carter <cdcarter@...> writes:> > When I try to generatee the application docs using ''rake appdoc'' I > keep getting this error: > C:\rails\software>rake appdoc > (in C:/rails/software) > undefined method `exitstatus'' for nil:NilClass > > Any ideas? > -- > Chris >Remove/Rename your doc directory, then run “rdoc –NS” from the root directory. That''s what worked for me in windows. -Gregg
Remove/Rename your doc directory, then run "rdoc -NS" from the root directory. That''s what worked for me in windows. -Gregg (AKA. Patched) -----Original Message----- From: James Britt [mailto:james.britt-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org] Sent: Sunday, July 03, 2005 9:22 AM To: rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org Subject: [Rails] Re: App Doc Errors Chris Carter wrote:> When I try to generatee the application docs using ''rake appdoc'' I > keep getting this error:...> undefined method `exitstatus'' for nil:NilClass > > Any ideas?It''s apparently a known issue with Rake and the way it invokes rdoc on win32. James _______________________________________________ Rails mailing list Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org lists.rubyonrails.org/mailman/listinfo/rails
Gregg Pollack wrote:> Remove/Rename your doc directory, then run "rdoc -NS" from the root > directory.Yes, rdoc itself runs fine. But the problem remains in rake, unless you redefine the doc task in your rakefile (since running rdoc by hand gets tedious fast). James