heroku run console returns 'Error connecting to process'

前端 未结 7 481
被撕碎了的回忆
被撕碎了的回忆 2020-12-13 04:15

I have deployed a rails 3.1 app to Heroku Cedar stack, and am trying to perform a:

heroku run rake db:migrate

it returns:

R         


        
7条回答
  •  醉梦人生
    2020-12-13 04:57

    I had the same problem, and although I did not solve the problem, I found a workaround.

    Instead of using:

    heroku run rake db:migrate

    You can use:

    heroku run:detached rake db:migrate

    This runs the command in the background, writing the output to the log. When it is finished you can view the log for the result.

    Not ideal, but when you are on an inadequate network, it will get you out of a hole :)

提交回复
热议问题