Rake 0.9.2, Rails 3.0.8 rc1: undefined method `prerequisites' for nil:NilClass
run rake db:migrate error
Rails 3.1 and Rspec-rails < 2.6 isn't compatible:
https://github.com/rspec/rspec-rails/blob/master/features/RailsVersions.md. upgrade to rspec-rails v