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