ruby-on-rails-4-EventController对ActionController :: Live的调用

ruby-on-rails-4-EventController对ActionController :: Live的调用

我目前正在一个具有以下功能的网站上工作:即时聊天一些统计一些形式我正在使用:Rails 4 Puma Nginx我正在使用ActionController :: Live并创建了一个事件动作,该事件动作在页面加载时被调用,并且绑定了侦听器,以监听聊天消息或更改统计信息.def events respo

ruby-on-rails-如何在Puma和Capistrano上部署Rails应用程序以重新启动

ruby-on-rails-如何在Puma和Capistrano上部署Rails应用程序以重新启动

我已经成功地使用Capistrano部署了Rails 4,Puma,Nginx App.当我部署上限生产时,部署一切正常.我的问题是,如果服务器由于某种原因而重新启动,或者崩溃了,它就不会重新启动.我在DigitalOcean上使用Debian 8.似乎Debian 8使用systemd,所以我遵循了Puma的说明,但

ruby-on-rails – Puma和Nginx 502 Bad Gateway错误(Ubuntu Server 1

ruby-on-rails – Puma和Nginx 502 Bad Gateway错误(Ubuntu Server 1

我需要部署我的rails应用程序,所以我从这里开始执行所有步骤,https://www.digitalocean.com/community/tutorials/how-to-deploy-a-rails-app-with-puma-and-nginx-on-ubuntu-14-04但是教程结束时,我收到了这个错误 – “502错误的网关”编辑现在出现错

ruby-on-rails – puma:puma.sock没有这样的文件或目录

ruby-on-rails – puma:puma.sock没有这样的文件或目录

我使用ansible脚本进行服务器设置:playbook.ymlGemfile当我将我的应用程序部署到服务器时,我在nginx / error.log中看到了这一点:2016/09/30 20:43:07 [crit] 1352#0: *1 connect() to unix:/home/deploy/applications/spa_backend/sha