title: Rake aborted: "ERROR: 'rake/rdoctask' is obsolete and no longer supported. Use 'rdoc/task' (available in RDoc 2.4.2+) instead."
body: <p>When trying to execute:</p>
  
  <pre><code>rake db:migrate
  </code></pre>
  
  <p>The terminal answers:</p>
  
  <pre><code>rake aborted!
  ERROR: 'rake/rdoctask' is obsolete and no longer supported. Use 'rdoc/task' (available in RDoc 2.4.2+) instead.
  /Users/Charles/.rvm/gems/ruby-1.9.3-p429@rails3tutorial/gems/railties-3.0.5/lib/rails/tasks/documentation.rake:1:in `require'
  /Users/Charles/.rvm/gems/ruby-1.9.3-p429@rails3tutorial/gems/railties-3.0.5/lib/rails/tasks/documentation.rake:1:in `&lt;top (required)&gt;'
  /Users/Charles/.rvm/gems/ruby-1.9.3-p429@rails3tutorial/gems/railties-3.0.5/lib/rails/tasks.rb:15:in `load'
  /Users/Charles/.rvm/gems/ruby-1.9.3-p429@rails3tutorial/gems/railties-3.0.5/lib/rails/tasks.rb:15:in `block in &lt;top (required)&gt;'
  /Users/Charles/.rvm/gems/ruby-1.9.3-p429@rails3tutorial/gems/railties-3.0.5/lib/rails/tasks.rb:6:in `each'
  /Users/Charles/.rvm/gems/ruby-1.9.3-p429@rails3tutorial/gems/railties-3.0.5/lib/rails/tasks.rb:6:in `&lt;top (required)&gt;'
  /Users/Charles/.rvm/gems/ruby-1.9.3-p429@rails3tutorial/gems/railties-3.0.5/lib/rails/application.rb:213:in `require'
  /Users/Charles/.rvm/gems/ruby-1.9.3-p429@rails3tutorial/gems/railties-3.0.5/lib/rails/application.rb:213:in `initialize_tasks'
  /Users/Charles/.rvm/gems/ruby-1.9.3-p429@rails3tutorial/gems/railties-3.0.5/lib/rails/application.rb:139:in `load_tasks'
  /Users/Charles/.rvm/gems/ruby-1.9.3-p429@rails3tutorial/gems/railties-3.0.5/lib/rails/application.rb:77:in `method_missing'
  /Users/Charles/rails_projects/demo_app/Rakefile:7:in `&lt;top (required)&gt;'
  /Users/Charles/.rvm/gems/ruby-1.9.3-p429@rails3tutorial/bin/ruby_noexec_wrapper:14:in `eval'
  /Users/Charles/.rvm/gems/ruby-1.9.3-p429@rails3tutorial/bin/ruby_noexec_wrapper:14:in `&lt;main&gt;'
  (See full trace by running task with --trace)
  </code></pre>
  
  <p>None of the solutions proposed here (specially downgrading the gem, or modifying the Rakefile (hereafter) work (rake version 10.0.1)</p>
  
  <pre><code>require File.expand_path('../config/application', __FILE__)
  require 'rake'
  
  DemoApp::Application.load_tasks
  </code></pre>
  
  <p>Thank you for your help,</p>