1
0
mirror of https://github.com/danbee/danbarberphoto synced 2025-03-04 08:49:07 +00:00

Compare commits

...

5 Commits

Author SHA1 Message Date
0d94e6ade7 Format puma config file 2024-04-07 15:58:26 -05:00
680b0f9ae6 Ruby 2.7.8 2024-04-07 15:58:26 -05:00
439e7216c8 Do we need to precompile this? 2024-04-07 15:58:26 -05:00
8c26ba94cc Fix puma config 2024-04-07 15:58:26 -05:00
a5acfd9eb1 Upgrade to Ruby 2.7.7 2024-04-07 15:58:26 -05:00
6 changed files with 7 additions and 8 deletions

View File

@ -1 +1 @@
2.7.2 2.7.8

View File

@ -1 +1 @@
ruby 2.7.2 ruby 2.7.7

View File

@ -1,5 +1,5 @@
source "http://rubygems.org" source "http://rubygems.org"
ruby "2.7.2" ruby "2.7.8"
gem "dotenv-rails", groups: %i[development test] gem "dotenv-rails", groups: %i[development test]

View File

@ -394,7 +394,7 @@ DEPENDENCIES
webdrivers webdrivers
RUBY VERSION RUBY VERSION
ruby 2.7.2p137 ruby 2.7.7p221
BUNDLED WITH BUNDLED WITH
1.17.2 1.17.2

View File

@ -49,7 +49,7 @@ DanBarberPhoto::Application.configure do
# config.action_controller.asset_host = "http://assets.example.com" # config.action_controller.asset_host = "http://assets.example.com"
# Precompile additional assets (application.js, application.css, and all non-JS/CSS are already added) # Precompile additional assets (application.js, application.css, and all non-JS/CSS are already added)
config.assets.precompile += %w[administrate/overrides.css] config.assets.precompile += %w[application.css administrate/overrides.css]
# Disable delivery errors, bad email addresses will be ignored # Disable delivery errors, bad email addresses will be ignored
# config.action_mailer.raise_delivery_errors = false # config.action_mailer.raise_delivery_errors = false

View File

@ -1,10 +1,9 @@
workers Integer(ENV["PUMA_WORKERS"] || 3) workers Integer(ENV["PUMA_WORKERS"] || 3)
threads Integer(ENV["MIN_THREADS"] || 1), Integer(ENV["MAX_THREADS"] || 16) threads Integer(ENV["MIN_THREADS"] || 1), Integer(ENV["MAX_THREADS"] || 16)
preload_app! preload_app!
rackup DefaultRackup port ENV["PORT"] || 3000
port ENV["PORT"] || 3000
environment ENV["RACK_ENV"] || "development" environment ENV["RACK_ENV"] || "development"
on_worker_boot do on_worker_boot do