If you get an error similar to the following while running rake db:migrate :

error
no such file to load -- spec/rake/spectask

… you need to install the rspec gem :

> sudo gem install rspec