I'm following Michael Hartl's tutorial on learning web development with rails. When it comes to migrating the database the command:
heroku run rake db:migrate
gives the following error
Running `rake db:migrate` attached to terminal... up, run.2675
/usr/bin/env: ruby1.9.1: No such file or directory
I'm using Ruby 1.9.3 and I have declared that in the Gemfile. I don't really understand what could be causing this error and any help at all would be greatly appreciated.