" heroku运行rake db:migrate"命令返回ETIMEDOUT错误消息

时间:2016-10-09 07:22:55

标签: ruby-on-rails heroku deployment rake dbmigrate

我可能会收到以下错误消息的任何想法?

$ git push heroku master                                                                                                                            
Everything up-to-date                                                                                                                               
$ heroku run rake db:migrate                                                                                                                        
Running rake db:migrate on ⬢ agile-retreat-87004... !                                                                                               
▸    ETIMEDOUT: connect ETIMEDOUT 50.19.103.36:5000

1 个答案:

答案 0 :(得分:1)

尝试在后台运行。例如:

heroku run:detached rake --app app-name db:migrate