这是我第一次尝试在heroku上加载我的应用。
当我尝试heroku run rake db:migrate
时,我的终端显示这些迁移,然后停止。
Connecting to database specified by DATABASE_URL
Migrating to DeviseCreateUsers (20121128151440)
Migrating to AddUsernameToUsers (20121129162857)
...
Migrating to AddWebsiteToEvents (20130108053401)
Migrating to AddCoverToUsers (20130108055101)
my-imac:pm diolor$
当我打开应用程序时,我看到可爱的我们很抱歉,但是出了问题。像这里的许多人一样留言。
谁知道我可能错过了什么,我看到了这个?顺便说一句,在我的本地应用程序中,我使用Pow。
编辑:my logs
2013-01-08T18:44:45+00:00 heroku[api]: Starting process with command `bundle exec rake db:migrate` by *@gmail.com
2013-01-08T18:44:49+00:00 heroku[run.1243]: Awaiting client
2013-01-08T18:44:49+00:00 heroku[run.1243]: Starting process with command `bundle exec rake db:migrate`
2013-01-08T18:44:49+00:00 heroku[run.1243]: State changed from starting to up
2013-01-08T18:44:55+00:00 heroku[run.1243]: Client connection closed. Sending SIGHUP to all processes
2013-01-08T18:44:56+00:00 heroku[run.1243]: Process exited with status 0
2013-01-08T18:44:56+00:00 heroku[run.1243]: State changed from up to complete
把你的控制台写在你的app目录
heroku logs -t
然后进入你的应用程序并运行它。复制并粘贴日志到这里。