diff --git a/config/puma.rb b/config/puma.rb index ce118df..aebe0b6 100644 --- a/config/puma.rb +++ b/config/puma.rb @@ -1,7 +1,7 @@ -app_dir = File.expand_path("..", __dir__) +app_dir = File.expand_path('..', __dir__) directory app_dir -environment 'production' +environment ENV.fetch('RACK_ENV', 'development') bind 'tcp://0.0.0.0:9292' workers 2