ruby – 运行Heroku控制台无法启动

前端之家收集整理的这篇文章主要介绍了ruby – 运行Heroku控制台无法启动前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
我正在尝试运行Heroku控制台,但在控制台中,我收到消息“运行控制台连接到终端”但控制台无法启动.

在Heroku日志中,我收到错误

Error: no child processes attached.

有帮助吗?

解决方法

我刚刚有一个关于Heroku支持的线程关于我的类似问题,这是他们的回复,这对我有用.

So this is a bamboo app. You can either do

$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

On cedar apps you’d also be able to do

$heroku run console

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.

原文链接:https://www.f2er.com/ruby/267502.html

猜你在找的Ruby相关文章