summaryrefslogtreecommitdiffstats
path: root/config/puma.rb
diff options
context:
space:
mode:
Diffstat (limited to 'config/puma.rb')
-rw-r--r--config/puma.rb2
1 files changed, 1 insertions, 1 deletions
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 = "."