diff options
author | Harald Eilertsen <haraldei@anduin.net> | 2018-09-13 19:55:21 +0200 |
---|---|---|
committer | Harald Eilertsen <haraldei@anduin.net> | 2018-09-13 19:55:21 +0200 |
commit | 452e839dc2d1ea099afce845dc965a8288fa12c5 (patch) | |
tree | f7be53f492731c22153a4d5cac29b0e831d979f5 /config | |
parent | 76ca5a6771768478fefc67ba7de64d9640677bd0 (diff) | |
download | norsk-urskog-registrations-452e839dc2d1ea099afce845dc965a8288fa12c5.tar.gz norsk-urskog-registrations-452e839dc2d1ea099afce845dc965a8288fa12c5.tar.bz2 norsk-urskog-registrations-452e839dc2d1ea099afce845dc965a8288fa12c5.zip |
Another fix for prod/dev logic in puma config.
Diffstat (limited to 'config')
-rw-r--r-- | config/puma.rb | 2 |
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 = "." |