back to puma
This commit is contained in:
parent
81344109c4
commit
c373104393
3
Gemfile
3
Gemfile
@ -16,7 +16,7 @@ gem "net-ssh"
|
||||
gem "haml-rails"
|
||||
gem 'high_voltage', '~> 3.1'
|
||||
|
||||
gem "passenger", require: "phusion_passenger/rack_handler"
|
||||
gem "puma"
|
||||
|
||||
# Use Active Storage variants [https://guides.rubyonrails.org/active_storage_overview.html#transforming-images]
|
||||
# gem "image_processing", "~> 1.2"
|
||||
@ -30,6 +30,7 @@ group :development do
|
||||
gem "web-console"
|
||||
gem "rack-mini-profiler"
|
||||
gem "mina"
|
||||
gem "mina-puma"
|
||||
end
|
||||
|
||||
group :test do
|
||||
|
11
Gemfile.lock
11
Gemfile.lock
@ -128,6 +128,9 @@ GEM
|
||||
mina (1.2.4)
|
||||
open4 (~> 1.3.4)
|
||||
rake
|
||||
mina-puma (1.1.0)
|
||||
mina (~> 1.2.0)
|
||||
puma (>= 2.13)
|
||||
mini_mime (1.1.2)
|
||||
minitest (5.15.0)
|
||||
msgpack (1.4.5)
|
||||
@ -151,10 +154,9 @@ GEM
|
||||
nokogiri (1.13.3-x86_64-linux)
|
||||
racc (~> 1.4)
|
||||
open4 (1.3.4)
|
||||
passenger (6.0.13)
|
||||
rack
|
||||
rake (>= 0.8.1)
|
||||
public_suffix (4.0.6)
|
||||
puma (5.6.4)
|
||||
nio4r (~> 2.0)
|
||||
racc (1.6.0)
|
||||
rack (2.2.3)
|
||||
rack-mini-profiler (3.0.0)
|
||||
@ -252,8 +254,9 @@ DEPENDENCIES
|
||||
high_voltage (~> 3.1)
|
||||
importmap-rails
|
||||
mina
|
||||
mina-puma
|
||||
net-ssh
|
||||
passenger
|
||||
puma
|
||||
rack-mini-profiler
|
||||
rails (~> 7.0)
|
||||
sassc-rails
|
||||
|
@ -1,6 +1,7 @@
|
||||
require 'mina/rails'
|
||||
require 'mina/git'
|
||||
require 'mina/rbenv' # for rbenv support. (https://rbenv.org)
|
||||
require 'mina/puma'
|
||||
|
||||
# Basic settings:
|
||||
# domain - The hostname to SSH to.
|
||||
@ -58,8 +59,7 @@ task :deploy do
|
||||
|
||||
on :launch do
|
||||
in_path(fetch(:current_path)) do
|
||||
command %{mkdir -p tmp/}
|
||||
command %{touch tmp/restart.txt}
|
||||
invoke :'puma:phased_restart'
|
||||
end
|
||||
end
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user