运行Heroku控制台不启动 [英] Running Heroku Console does not start
问题描述
我尝试运行Heroku控制台,但在控制台中,我收到运行控制台连接到终端消息,但控制台无法启动。
I am trying to run Heroku console, but in the console, I get the message "Running console attached to terminal" but the console doesn't start.
在Heroku日志中,出现错误:
In the Heroku logs, I get the error:
Error: no child processes attached.
任何帮助?
推荐答案
我刚刚有一个线程与Heroku支持我的类似的问题,这里是他们的反应,这对我有用。
I just had a thread with Heroku support about my similar issue, here was their response, which worked for me.
所以这是一个竹应用程序。您可以执行
So this is a bamboo app. You can either do
$ heroku控制台
$ heroku console
即可进入正在运行的网络动态一个新的控制台
作为一次性过程与:
which will tap into a running web dyno, or you can run a new console as a one-off process with:
$ heroku run bundle exec rails console
$ heroku run bundle exec rails console
在雪松应用程式上,您也可以执行
On cedar apps you'd also be able to do
$ heroku执行控制台
$ heroku run console
一个一次性过程,因为控制台进程类型
将由rails buildpack隐含或在Procfile中声明。
它与上一行相同。
which also starts a one-off process, because the console process type would be implied by the rails buildpack or declared in your Procfile. It amounts to the same as the previous line.
这篇关于运行Heroku控制台不启动的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!