From 452e839dc2d1ea099afce845dc965a8288fa12c5 Mon Sep 17 00:00:00 2001 From: Harald Eilertsen Date: Thu, 13 Sep 2018 19:55:21 +0200 Subject: Another fix for prod/dev logic in puma config. --- config/puma.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/puma.rb b/config/puma.rb index 619ee43..04856d0 100644 --- a/config/puma.rb +++ b/config/puma.rb @@ -1,7 +1,7 @@ #!/usr/bin/env puma if @config.environment_str == "production" - root = File.expand_path('../', __FILE__) + root = File.expand_path('../', File.dirname(__FILE__)) socket = "unix://#{root}/tmp/sockets/puma.sock" else root = "." -- cgit v1.2.3