I installed ruby on rails, postgres. I installed all required gem files, I created a project as http://guides.rubyonrails.org/getting_started.html wants
I added below co
I don't know why but this worked for me. worth a try
heroku rake db:migrate
Found it on this discussion