back to passenger

This commit is contained in:
Torsten 2022-03-31 11:54:31 +03:00
parent 86c280d9cf
commit 03c970a9e4
3 changed files with 7 additions and 11 deletions

View File

@ -16,7 +16,7 @@ gem "net-ssh"
gem "haml-rails"
gem 'high_voltage', '~> 3.1'
gem "puma" , "4.3.10"
gem "passenger", require: "phusion_passenger/rack_handler"
# Use Active Storage variants [https://guides.rubyonrails.org/active_storage_overview.html#transforming-images]
# gem "image_processing", "~> 1.2"
@ -30,7 +30,6 @@ group :development do
gem "web-console"
gem "rack-mini-profiler"
gem "mina"
gem "mina-puma"
end
group :test do

View File

@ -128,9 +128,6 @@ 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)
@ -154,9 +151,10 @@ 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 (4.3.10)
nio4r (~> 2.0)
racc (1.6.0)
rack (2.2.3)
rack-mini-profiler (3.0.0)
@ -254,9 +252,8 @@ DEPENDENCIES
high_voltage (~> 3.1)
importmap-rails
mina
mina-puma
net-ssh
puma (= 4.3.10)
passenger
rack-mini-profiler
rails (~> 7.0)
sassc-rails

View File

@ -13,7 +13,7 @@ set :application_name, 'gateway'
set :domain, 'web-server.local'
set :deploy_to, '/home/feenix/gateway'
set :repository, "https://github.com/rubydesign/gateway.git"
set :branch, 'main'
set :branch, 'passenger'
# Optional settings:
set :user, 'feenix' # Username in the server to SSH to.
@ -59,7 +59,7 @@ task :deploy do
on :launch do
in_path(fetch(:current_path)) do
invoke :'puma:hard_restart'
invoke :'passenger:restart'
end
end
end