Update app files to Rails 6.1 defaults.

This commit is contained in:
evazion
2020-12-19 00:26:27 -06:00
parent 5fc99b9946
commit 6849a3d68b
14 changed files with 160 additions and 108 deletions

View File

@@ -1,6 +1,6 @@
# This file is used by Rack-based servers to start the application.
require ::File.expand_path('../config/environment', __FILE__)
require_relative "config/environment"
if defined?(Unicorn) && Rails.env.production?
# Unicorn self-process killer
@@ -14,3 +14,4 @@ if defined?(Unicorn) && Rails.env.production?
end
run Rails.application
Rails.application.load_server