I installed at least one gem since I thought I actually once was able to run ''rake appdoc'' command since there is an api for my models and the ez_where plugin that I installed earlier. I wanted to see the api for pdf-writer which is the gem that I installed most recently. (no, I haven''t given up the issue of ''looping'' that Kevin and some others replied on, I am working on that in conjunction with this). [craig@srv2 rdoccd]$ rake appdoc (in /home/craig/ruby-db/th-db) rm -r doc/app unrecognized option `--line-numbers --inline-source'' For help on options, try ''rdoc --help'' rake aborted! exit (See full trace by running task with --trace) What is this about? Craig the full trace below if it helps... [craig@srv2 rdoccd]$ rake appdoc --trace (in /home/craig/ruby-db/th-db) ** Invoke appdoc (first_time) ** Invoke doc/app/index.html (first_time) ** Invoke doc/README_FOR_APP (first_time, not_needed) ** Invoke app/models/client.rb (first_time, not_needed) ** Invoke app/models/placement-safe.rb (first_time, not_needed) ** Invoke app/models/case_manager.rb (first_time, not_needed) ** Invoke app/models/client-bak.rb (first_time, not_needed) ** Invoke app/models/facility.rb (first_time, not_needed) ** Invoke app/models/user.rb (first_time, not_needed) ** Invoke app/models/referral_note.rb (first_time, not_needed) ** Invoke app/models/role.rb (first_time, not_needed) ** Invoke app/models/login.rb (first_time, not_needed) ** Invoke app/models/placement.rb (first_time, not_needed) ** Invoke app/models/right.rb (first_time, not_needed) ** Invoke app/controllers/placements_controller.rb (first_time, not_needed) ** Invoke app/controllers/clients_controller.rb (first_time, not_needed) ** Invoke app/controllers/clients_controller-bak.rb (first_time, not_needed) ** Invoke app/controllers/placements_controller-bak.rb (first_time, not_needed) ** Invoke app/controllers/referral_notes_controller.rb (first_time, not_needed) ** Invoke app/controllers/case_managers_controller.rb (first_time, not_needed) ** Invoke app/controllers/login_controller.rb (first_time, not_needed) ** Invoke app/controllers/facilities_controller.rb (first_time, not_needed) ** Invoke app/controllers/placements_controller-works.rb (first_time, not_needed) ** Invoke app/controllers/search_controller.rb (first_time, not_needed) ** Invoke app/controllers/application.rb (first_time, not_needed) ** Invoke app/controllers/placements_controller_ez_ware_in_progress.rb (first_time, not_needed) ** Invoke app/controllers/reports_controller.rb (first_time, not_needed) ** Invoke app/helpers/reports_helper.rb (first_time, not_needed) ** Invoke app/helpers/referral_notes_helper.rb (first_time, not_needed) ** Invoke app/helpers/placements_helper.rb (first_time, not_needed) ** Invoke app/helpers/debug_helper.rb (first_time, not_needed) ** Invoke app/helpers/clients_helper.rb (first_time, not_needed) ** Invoke app/helpers/search_helper.rb (first_time, not_needed) ** Invoke app/helpers/facilities_helper.rb (first_time, not_needed) ** Invoke app/helpers/date_picker_helper.rb (first_time, not_needed) ** Invoke app/helpers/case_managers_helper.rb (first_time, not_needed) ** Invoke app/helpers/application_helper.rb (first_time, not_needed) ** Invoke app/helpers/login_helper.rb (first_time, not_needed) ** Invoke app/testing/application-cal.rb (first_time, not_needed) ** Invoke app/testing/application.rb (first_time, not_needed) ** Invoke Rakefile (first_time, not_needed) ** Execute doc/app/index.html rm -r doc/app unrecognized option `--line-numbers --inline-source'' For help on options, try ''rdoc --help'' rake aborted! exit /usr/lib/ruby/1.8/rdoc/options.rb:260:in `exit'' /usr/lib/ruby/1.8/rdoc/options.rb:260:in `error'' /usr/lib/ruby/1.8/rdoc/options.rb:496:in `parse'' /usr/lib/ruby/1.8/rdoc/rdoc.rb:238:in `document'' /usr/lib/ruby/gems/1.8/gems/rake-0.7.0/lib/rake/rdoctask.rb:113:in `define'' /usr/lib/ruby/gems/1.8/gems/rake-0.7.0/lib/rake.rb:232:in `execute'' /usr/lib/ruby/gems/1.8/gems/rake-0.7.0/lib/rake.rb:232:in `execute'' /usr/lib/ruby/gems/1.8/gems/rake-0.7.0/lib/rake.rb:202:in `invoke'' /usr/lib/ruby/1.8/thread.rb:135:in `synchronize'' /usr/lib/ruby/gems/1.8/gems/rake-0.7.0/lib/rake.rb:195:in `invoke'' /usr/lib/ruby/gems/1.8/gems/rake-0.7.0/lib/rake.rb:209:in `invoke_prerequisites'' /usr/lib/ruby/gems/1.8/gems/rake-0.7.0/lib/rake.rb:844:in `each'' /usr/lib/ruby/gems/1.8/gems/rake-0.7.0/lib/rake.rb:208:in `invoke_prerequisites'' /usr/lib/ruby/gems/1.8/gems/rake-0.7.0/lib/rake.rb:201:in `invoke'' /usr/lib/ruby/1.8/thread.rb:135:in `synchronize'' /usr/lib/ruby/gems/1.8/gems/rake-0.7.0/lib/rake.rb:195:in `invoke'' /usr/lib/ruby/gems/1.8/gems/rake-0.7.0/lib/rake.rb:1719:in `run'' /usr/lib/ruby/gems/1.8/gems/rake-0.7.0/lib/rake.rb:1719:in `run'' /usr/lib/ruby/gems/1.8/gems/rake-0.7.0/bin/rake:7 /usr/bin/rake:18
I''ll try again...I don''t understand this. I did succeed doing ''rake appdoc'' at least I think that was the command that worked because I do have an earlier version but I want the api for the newly installed gem ''pdf-writer'' On Thu, 2006-02-23 at 11:00 -0700, Craig White wrote: [craig@srv2 rdoccd]$ rake appdoc (in /home/craig/ruby-db/th-db) rm -r doc/app unrecognized option `--line-numbers --inline-source'' For help on options, try ''rdoc --help'' rake aborted! exit (See full trace by running task with --trace) What is this about? Craig the full trace below if it helps...> > [craig@srv2 rdoccd]$ rake appdoc --trace > (in /home/craig/ruby-db/th-db) > ** Invoke appdoc (first_time) > ** Invoke doc/app/index.html (first_time) > ** Invoke doc/README_FOR_APP (first_time, not_needed) > ** Invoke app/models/client.rb (first_time, not_needed) > ** Invoke app/models/placement-safe.rb (first_time, not_needed) > ** Invoke app/models/case_manager.rb (first_time, not_needed) > ** Invoke app/models/client-bak.rb (first_time, not_needed) > ** Invoke app/models/facility.rb (first_time, not_needed) > ** Invoke app/models/user.rb (first_time, not_needed) > ** Invoke app/models/referral_note.rb (first_time, not_needed) > ** Invoke app/models/role.rb (first_time, not_needed) > ** Invoke app/models/login.rb (first_time, not_needed) > ** Invoke app/models/placement.rb (first_time, not_needed) > ** Invoke app/models/right.rb (first_time, not_needed) > ** Invoke app/controllers/placements_controller.rb (first_time, > not_needed) > ** Invoke app/controllers/clients_controller.rb (first_time, not_needed) > ** Invoke app/controllers/clients_controller-bak.rb (first_time, > not_needed) > ** Invoke app/controllers/placements_controller-bak.rb (first_time, > not_needed) > ** Invoke app/controllers/referral_notes_controller.rb (first_time, > not_needed) > ** Invoke app/controllers/case_managers_controller.rb (first_time, > not_needed) > ** Invoke app/controllers/login_controller.rb (first_time, not_needed) > ** Invoke app/controllers/facilities_controller.rb (first_time, > not_needed) > ** Invoke app/controllers/placements_controller-works.rb (first_time, > not_needed) > ** Invoke app/controllers/search_controller.rb (first_time, not_needed) > ** Invoke app/controllers/application.rb (first_time, not_needed) > ** Invoke app/controllers/placements_controller_ez_ware_in_progress.rb > (first_time, not_needed) > ** Invoke app/controllers/reports_controller.rb (first_time, not_needed) > ** Invoke app/helpers/reports_helper.rb (first_time, not_needed) > ** Invoke app/helpers/referral_notes_helper.rb (first_time, not_needed) > ** Invoke app/helpers/placements_helper.rb (first_time, not_needed) > ** Invoke app/helpers/debug_helper.rb (first_time, not_needed) > ** Invoke app/helpers/clients_helper.rb (first_time, not_needed) > ** Invoke app/helpers/search_helper.rb (first_time, not_needed) > ** Invoke app/helpers/facilities_helper.rb (first_time, not_needed) > ** Invoke app/helpers/date_picker_helper.rb (first_time, not_needed) > ** Invoke app/helpers/case_managers_helper.rb (first_time, not_needed) > ** Invoke app/helpers/application_helper.rb (first_time, not_needed) > ** Invoke app/helpers/login_helper.rb (first_time, not_needed) > ** Invoke app/testing/application-cal.rb (first_time, not_needed) > ** Invoke app/testing/application.rb (first_time, not_needed) > ** Invoke Rakefile (first_time, not_needed) > ** Execute doc/app/index.html > rm -r doc/app > > unrecognized option `--line-numbers --inline-source'' > > For help on options, try ''rdoc --help'' > > rake aborted! > exit > /usr/lib/ruby/1.8/rdoc/options.rb:260:in `exit'' > /usr/lib/ruby/1.8/rdoc/options.rb:260:in `error'' > /usr/lib/ruby/1.8/rdoc/options.rb:496:in `parse'' > /usr/lib/ruby/1.8/rdoc/rdoc.rb:238:in `document'' > /usr/lib/ruby/gems/1.8/gems/rake-0.7.0/lib/rake/rdoctask.rb:113:in > `define'' > /usr/lib/ruby/gems/1.8/gems/rake-0.7.0/lib/rake.rb:232:in `execute'' > /usr/lib/ruby/gems/1.8/gems/rake-0.7.0/lib/rake.rb:232:in `execute'' > /usr/lib/ruby/gems/1.8/gems/rake-0.7.0/lib/rake.rb:202:in `invoke'' > /usr/lib/ruby/1.8/thread.rb:135:in `synchronize'' > /usr/lib/ruby/gems/1.8/gems/rake-0.7.0/lib/rake.rb:195:in `invoke'' > /usr/lib/ruby/gems/1.8/gems/rake-0.7.0/lib/rake.rb:209:in > `invoke_prerequisites'' > /usr/lib/ruby/gems/1.8/gems/rake-0.7.0/lib/rake.rb:844:in `each'' > /usr/lib/ruby/gems/1.8/gems/rake-0.7.0/lib/rake.rb:208:in > `invoke_prerequisites'' > /usr/lib/ruby/gems/1.8/gems/rake-0.7.0/lib/rake.rb:201:in `invoke'' > /usr/lib/ruby/1.8/thread.rb:135:in `synchronize'' > /usr/lib/ruby/gems/1.8/gems/rake-0.7.0/lib/rake.rb:195:in `invoke'' > /usr/lib/ruby/gems/1.8/gems/rake-0.7.0/lib/rake.rb:1719:in `run'' > /usr/lib/ruby/gems/1.8/gems/rake-0.7.0/lib/rake.rb:1719:in `run'' > /usr/lib/ruby/gems/1.8/gems/rake-0.7.0/bin/rake:7 > /usr/bin/rake:18 > > > > > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails
Hi, I''ve just created a new project and am running edgerails. When I try to do a rake I get this error. C:\Projects\app\trunk>rake (in C:/Projects/app/trunk) c:/Ruby/bin/ruby -Ilib;test "c:/Ruby/lib/ruby/gems/1.8/gems/rake-0.7.0/lib/rake/ rake_test_loader.rb" rake aborted! Test failures (See full trace by running task with --trace) Anyone know why this would be happening? Cheers, Eric Goodwin
Hey, I''m running into a error when trying to run rake. I create a brand new project from edge rails and then run rake and this is what I get. C:\Projects\RailsTest\theapp>rake (in C:/Projects/RailsTest/theapp) c:/ruby/bin/ruby -Ilib;test "c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.0/lib/rake/rake_test_loader.r b" rake aborted! Test failures Any ideas? Cheers, Eric