繁体   English   中英

在Nginx上通过Capistrano部署Rails应用

[英]Deploying rails app via capistrano on nginx

尝试在Amazon EC2服务器上部署Spree Rails应用程序时,出现以下错误: config/unicorn.rb:3:in 'reload': wrong number of arguments (2 for 0) (ArgumentError)当我运行cap unicorn:start

编辑:

这是我的完整config/unicorn.rbhttp : config/unicorn.rb

config/deploy.rbhttp : config/deploy.rb

完整错误: http//pastie.org/8738485

而且,当我运行bundle exec unicorn_rails -c config/unicorn.rb -D -E development我得到了

master failed to start, check stderr log for details

尝试用set[:application] = "manndi"替换config/unicorn.rb第3行。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM