Seems the last post for this problem was closed for one reason or another so I\'ll try my luck...
I\'m trying to run a simple \"rake db:migrate\" command. When I do,
This probably isn't the right way to do this, but I went into my Gemfile.lock file and changed my rake version back from 10.0.3 to 0.8.7. I'm running Rails 3.0.5 right now, and had updated briefly to 3.0.19 before reverting back. I believe that updated some gems and also made it so that the Rails gem was looking for the newest version greater than or equal to 0.8.7:
rails (3.0.5)
actionmailer (= 3.0.5)
actionpack (= 3.0.5)
activerecord (= 3.0.5)
activeresource (= 3.0.5)
activesupport (= 3.0.5)
bundler (~> 1.0)
railties (= 3.0.5)
railties (3.0.5)
actionpack (= 3.0.5)
activesupport (= 3.0.5)
rake (>= 0.8.7)
thor (~> 0.14.4)
rake (0.8.7)
I also uninstalled 10.0.3:
gem uninstall rake --version 10.0.3
After that, everything is back to running as it should.
If I didn't roll back rails 3.0.19, then I would have kept using rake 10.0.3.
Hope this helps someone!