From fb235f0b1cec1f29a5b7d207660fb497bc36d895 Mon Sep 17 00:00:00 2001 From: Yan Date: Tue, 21 Nov 2017 19:53:17 +0630 Subject: [PATCH] puma update --- config/puma.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/puma.rb b/config/puma.rb index 7c043458..a835964b 100755 --- a/config/puma.rb +++ b/config/puma.rb @@ -1,4 +1,4 @@ -application_path = Rails.root #'/home/superuser/Application/production/sxrestaurant' +application_path = ENV.fetch("SX_PATH") {'/home/superuser/Application/production/sxrestaurant'} directory application_path environment ENV.fetch("RAILS_ENV") { "development" } daemonize true