When I try doing rake db:migrate I get this error
rake aborted! uninitialized constant Rake::DSL
/home/laptop/RubymineProjects/website2/Rakefile:10
What do I have to do to fix this? I tried with multiple different rake versions. I'm running Rails 3.0.9, Ruby 1.8.7 and Ubuntu 11.04.