只是另一个臭名昭着的我们很抱歉,但出了点问题。在heroku

时间:2013-01-08 07:52:06

标签: ruby-on-rails ruby-on-rails-3 heroku

我第一次尝试在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。

编辑:我的日志

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

1 个答案:

答案 0 :(得分:1)

在您的应用目录中编写控制台

heroku logs -t 

然后转到您的应用并运行它。复制并粘贴日志。