2016-09-30 33 views
7

我用ansible腳本服務器設置:PUMA:puma.sock沒有這樣的文件或目錄

playbook.yml

Gemfile

當我部署我的應用程序服務器上,我看到這個nginx的/ error.log中:

2016/09/30 20:43:07 [crit] 1352#0: *1 connect() to unix:/home/deploy/applications/spa_backend/shared/tmp/sockets/puma.sock failed (2: No such file or directory) while connecting to upstream, client: *, server: , request: "GET/HTTP/1.1", upstream: "http://unix:/home/deploy/applications/spa_backend/shared/tmp/sockets/puma.sock:/", 

操作系統:Ubuntu的14.04.5

回答

2

Capfile:

require 'capistrano/puma'

它幫助我

相關問題