ruby-on-rails - 无法生成应用程序

标签 ruby-on-rails nginx rvm passenger ruby-1.9.3

我有 rvm、passenger、ruby 1.9.3、nginx 但我现在收到这个错误

Cannot spawn application '/path/to/my/app': Could not read from the spawn server: Connection reset by peer (104)



我有 passenger_root设置为 passenger-config --root 的输出和 ruby-1.9.3-p125passenger_ruby
我确实必须这样做rvmsudo passenger-install-nginx-module因为乘客一直试图安装 1.8.7 支持而不是 1.9.3

我什至将生成模式设置为保守。

有什么我错过的吗?

最佳答案

这很可能是因为您的乘客用户没有运行您的应用程序的权限,或者您的应用程序本身没有正确启动。

关于ruby-on-rails - 无法生成应用程序,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/9894939/

相关文章:

ruby-on-rails - Rails 过时了?站点地图的方法始终返回 HTTP 200

ruby-on-rails - Rails - 保存 Ransack 查询以供以后使用

linux - 找不到 docker-entrypoint exec nginx

ruby-on-rails - Rails 什么时候响应 'transfer-encoding' 与 'content-length' ?

emacs - 符号作为变量的值是 void : ‘rvm

ruby-on-rails - RVM 使用了错误的 ruby​​ 版本

ruby - 使用 RVM 管理 ruby​​ 版本

ruby-on-rails - Rails 迁移 : tried to change the type of column from string to integer

ruby-on-rails - 为什么 schema.rb 在 rails 5.1.0 中的格式不正确?

google-chrome - Nginx 反向代理适用于 Safari 和 Firefox,但不适用于 Chrome