Found the problem. In the application's Rakefile, you need to change
require 'rake/rdoctask' => require 'rdoc/task' You all need to Rake::RDocTask to RDoc::Task later in the file. Normally this would be fixed with 'rake rails:update' but you can't run this command after updating. Andrew On Jun 8, 10:30 am, Andrew Selder <[email protected]> wrote: > I just upgraded to Rails 2.3.12, and now all my rake tasks are > failing: > > andrew:code[master]$ bundle exec rake -T --trace > (in /Volumes/WorkDisk/Fancat/fancat/gitsvn/code) > rake aborted! > uninitialized constant Object::RDoc > /Users/andrew/.rvm/gems/ruby-1.9.2-p180@global/gems/rake-0.8.7/lib/ > rake.rb:2503:in `const_missing' > /Users/andrew/.rvm/gems/ruby-1.9.2-p180@fancat/gems/rails-2.3.12/lib/ > tasks/documentation.rake:3:in `block in <top (required)>' > /Users/andrew/.rvm/gems/ruby-1.9.2-p180@global/gems/rake-0.8.7/lib/ > rake.rb:1882:in `in_namespace' > /Users/andrew/.rvm/gems/ruby-1.9.2-p180@global/gems/rake-0.8.7/lib/ > rake.rb:910:in `namespace' > /Users/andrew/.rvm/gems/ruby-1.9.2-p180@fancat/gems/rails-2.3.12/lib/ > tasks/documentation.rake:1:in `<top (required)>' > /Users/andrew/.rvm/gems/ruby-1.9.2-p180@fancat/gems/rails-2.3.12/lib/ > tasks/rails.rb:4:in `load' > /Users/andrew/.rvm/gems/ruby-1.9.2-p180@fancat/gems/rails-2.3.12/lib/ > tasks/rails.rb:4:in `block in <top (required)>' > /Users/andrew/.rvm/gems/ruby-1.9.2-p180@fancat/gems/rails-2.3.12/lib/ > tasks/rails.rb:4:in `each' > /Users/andrew/.rvm/gems/ruby-1.9.2-p180@fancat/gems/rails-2.3.12/lib/ > tasks/rails.rb:4:in `<top (required)>' > /Volumes/WorkDisk/Fancat/fancat/gitsvn/code/Rakefile:31:in `require' > /Volumes/WorkDisk/Fancat/fancat/gitsvn/code/Rakefile:31:in `<top > (required)>' > /Users/andrew/.rvm/gems/ruby-1.9.2-p180@global/gems/rake-0.8.7/lib/ > rake.rb:2383:in `load' > /Users/andrew/.rvm/gems/ruby-1.9.2-p180@global/gems/rake-0.8.7/lib/ > rake.rb:2383:in `raw_load_rakefile' > /Users/andrew/.rvm/gems/ruby-1.9.2-p180@global/gems/rake-0.8.7/lib/ > rake.rb:2017:in `block in load_rakefile' > /Users/andrew/.rvm/gems/ruby-1.9.2-p180@global/gems/rake-0.8.7/lib/ > rake.rb:2068:in `standard_exception_handling' > /Users/andrew/.rvm/gems/ruby-1.9.2-p180@global/gems/rake-0.8.7/lib/ > rake.rb:2016:in `load_rakefile' > /Users/andrew/.rvm/gems/ruby-1.9.2-p180@global/gems/rake-0.8.7/lib/ > rake.rb:2000:in `block in run' > /Users/andrew/.rvm/gems/ruby-1.9.2-p180@global/gems/rake-0.8.7/lib/ > rake.rb:2068:in `standard_exception_handling' > /Users/andrew/.rvm/gems/ruby-1.9.2-p180@global/gems/rake-0.8.7/lib/ > rake.rb:1998:in `run' > /Users/andrew/.rvm/gems/ruby-1.9.2-p180@global/gems/rake-0.8.7/bin/ > rake:31:in `<top (required)>' > /Users/andrew/.rvm/gems/ruby-1.9.2-p180@fancat/bin/rake:19:in `load' > > Has anybody else seen this or have a suggestion on how to fix? -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-core?hl=en.
