挂在dokku液滴中的Rails控制台 [英] Rails console hanging in dokku droplet

查看:74
本文介绍了挂在dokku液滴中的Rails控制台的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚刚从heroku转移到一个数字海洋dokku一滴液滴,它在Rails控制台上运行良好。因为我认为缺少ram可能是一个问题,所以我将液滴升级到2gb,但仍然无法正常工作...
每次我运行 dokku run rails c时,控制台都在正确的环境中加载,似乎很好。但是,当我键入某些内容(2 + 2或User.all,...)并按Enter键时,没有控制台的处理。它只是挂着,我唯一能做的就是退出控制台(ctrl + c)。没有显示错误...

I just moved from heroku to a digital ocean dokku one-klick droplet and it's working fine exept of the rails console. Since I thought it might be a problem with missing ram I upgraded my droplet to 2gb but it still won't work... Everytime I run "dokku run rails c", the console is loading in the right enviromnent and it seems to be fine. But when I type in something (2+2 or User.all,...) and hit enter, there is no processing of the console. It's just hanging and the only thing I can do is to quit the console (ctrl+c). No errors are displayed...

我已经完全重新安装了该应用程序,但没有帮助。有谁知道如何解决这个问题?谢谢!

I already reinstalled the app completely but it didn't help. Does anyone have an idea how to solve this issue? Thanks!

推荐答案

在虚拟机上全新安装dokku出现相同问题之后,我通过更新dokku解决了这个问题。 ..
https:// github。 com / dokku / dokku / blob / master / docs / getting-started / upgrading.md

After having the same issue with a fresh installation of dokku on a virtual machine I solved this problem with updating dokku ... https://github.com/dokku/dokku/blob/master/docs/getting-started/upgrading.md

这篇关于挂在dokku液滴中的Rails控制台的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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