title: Why can't i get rake db:migrate to work for ruby.railstutorial.org
body: <p>I decided to go through the tutorial. After I create a new app and add new <code>user:string email:string</code> and then perform <code>rake db:migrate</code> in the app directory, I get this output:</p>
  
  <pre><code>rake aborted! 
  undefined method `task' for #&lt;DemoApp::Application:0x00000100e49e08&gt;
  /usr/local/rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/railties-3.0.7/lib/rails/application.rb:215:in `initialize_tasks'
  /usr/local/rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/railties-3.0.7/lib/rails/application.rb:139:in `load_tasks'
  /usr/local/rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/railties-3.0.7/lib/rails/application.rb:77:in `method_missing'
  /Users/zigloo99/rails_projects/demo_app/Rakefile:7:in `&lt;top (required)&gt;'
  /usr/local/rvm/gems/ruby-1.9.2-p180@global/gems/rake-0.9.0/lib/rake/rake_module.rb:25:in `load'
  /usr/local/rvm/gems/ruby-1.9.2-p180@global/gems/rake-0.9.0/lib/rake/rake_module.rb:25:in `load_rakefile'
  /usr/local/rvm/gems/ruby-1.9.2-p180@global/gems/rake-0.9.0/lib/rake/application.rb:495:in `raw_load_rakefile'
  /usr/local/rvm/gems/ruby-1.9.2-p180@global/gems/rake-0.9.0/lib/rake/application.rb:78:in `block in load_rakefile'
  /usr/local/rvm/gems/ruby-1.9.2-p180@global/gems/rake-0.9.0/lib/rake/application.rb:129:in `standard_exception_handling'
  /usr/local/rvm/gems/ruby-1.9.2-p180@global/gems/rake-0.9.0/lib/rake/application.rb:77:in `load_rakefile'
  /usr/local/rvm/gems/ruby-1.9.2-p180@global/gems/rake-0.9.0/lib/rake/application.rb:61:in `block in run'
  /usr/local/rvm/gems/ruby-1.9.2-p180@global/gems/rake-0.9.0/lib/rake/application.rb:129:in `standard_exception_handling'
  /usr/local/rvm/gems/ruby-1.9.2-p180@global/gems/rake-0.9.0/lib/rake/application.rb:59:in `run'
  /usr/local/rvm/gems/ruby-1.9.2-p180@global/gems/rake-0.9.0/bin/rake:31:in `&lt;top (required)&gt;'
  /usr/local/rvm/gems/ruby-1.9.2-p180@global/bin/rake:19:in `load'
  /usr/local/rvm/gems/ruby-1.9.2-p180@global/bin/rake:19:in `&lt;main&gt;'
  </code></pre>
  
  <p>I am using RVM too ruby 1.9.2 and rails 3.0.7 as in the tutorial.
  Any thoughts?</p>