8

I used ansible script for server setup:

playbook.yml

Gemfile

And when I deployed my application to server, I see this in 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:/",

OS: Ubuntu 14.04.5

Pavel
  • 2,103
  • 4
  • 23
  • 41

1 Answers1

2

Capfile:

require 'capistrano/puma'

it helped me

Pavel
  • 2,103
  • 4
  • 23
  • 41
  • What is "Capfile"? Don't know if this will help me or not because I don't know the context. – Tony B Apr 07 '19 at 21:19