Heroku rails控制台不再启动 [英] Heroku rails console does not start any more

查看:142
本文介绍了Heroku rails控制台不再启动的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个问题,在heroku(雪松堆栈)运行rails控制台。每个以下命令heroku运行控制台,heroku运行rails控制台,heroku运行捆绑程序exec rails控制台导致以下错误消息:



运行 bundle exec rails console 附加到终端... up,run.8155



中止测试:您的Rails环境正以生产模式运行! / p>

这个错误讯息有点混乱。什么样的测试尝试heroku开始?

解决方案

  heroku run console --app< app name> 


I have an issue with running the rails console at heroku (cedar-stack). Each of the following commands heroku run console, heroku run rails console, heroku run bundle exec rails console results in the following error-message:

Running bundle exec rails console attached to terminal... up, run.8155

Abort testing: Your Rails environment is running in production mode!

This error-message is a little bit confused. What kind of test tries heroku to start? I just want to fire up the console, which had worked fine 4 weeks ago.

解决方案

heroku run console --app <app name>

这篇关于Heroku rails控制台不再启动的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆