So after pushing my app to heroku, I tried to migrate database to heroku. However, I get the following error.
C:\Users\Administrator\Ruby\Myapp>heroku rake db:migrate
rake aborted!
undefined method `task' for #<MyApp::Application:0x7fc922c28dd0>
In local, everything works just fine including migration.
Also, migration worked just fine about few days ago, therefore it seems the error is after the rake version which changed from 0.8.7 to 0.9.0 in Heroku.
How can I resolve this problem?