back to passenger
This commit is contained in:
parent
86c280d9cf
commit
03c970a9e4
3
Gemfile
3
Gemfile
@ -16,7 +16,7 @@ gem "net-ssh"
|
|||||||
gem "haml-rails"
|
gem "haml-rails"
|
||||||
gem 'high_voltage', '~> 3.1'
|
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]
|
# Use Active Storage variants [https://guides.rubyonrails.org/active_storage_overview.html#transforming-images]
|
||||||
# gem "image_processing", "~> 1.2"
|
# gem "image_processing", "~> 1.2"
|
||||||
@ -30,7 +30,6 @@ group :development do
|
|||||||
gem "web-console"
|
gem "web-console"
|
||||||
gem "rack-mini-profiler"
|
gem "rack-mini-profiler"
|
||||||
gem "mina"
|
gem "mina"
|
||||||
gem "mina-puma"
|
|
||||||
end
|
end
|
||||||
|
|
||||||
group :test do
|
group :test do
|
||||||
|
11
Gemfile.lock
11
Gemfile.lock
@ -128,9 +128,6 @@ GEM
|
|||||||
mina (1.2.4)
|
mina (1.2.4)
|
||||||
open4 (~> 1.3.4)
|
open4 (~> 1.3.4)
|
||||||
rake
|
rake
|
||||||
mina-puma (1.1.0)
|
|
||||||
mina (~> 1.2.0)
|
|
||||||
puma (>= 2.13)
|
|
||||||
mini_mime (1.1.2)
|
mini_mime (1.1.2)
|
||||||
minitest (5.15.0)
|
minitest (5.15.0)
|
||||||
msgpack (1.4.5)
|
msgpack (1.4.5)
|
||||||
@ -154,9 +151,10 @@ GEM
|
|||||||
nokogiri (1.13.3-x86_64-linux)
|
nokogiri (1.13.3-x86_64-linux)
|
||||||
racc (~> 1.4)
|
racc (~> 1.4)
|
||||||
open4 (1.3.4)
|
open4 (1.3.4)
|
||||||
|
passenger (6.0.13)
|
||||||
|
rack
|
||||||
|
rake (>= 0.8.1)
|
||||||
public_suffix (4.0.6)
|
public_suffix (4.0.6)
|
||||||
puma (4.3.10)
|
|
||||||
nio4r (~> 2.0)
|
|
||||||
racc (1.6.0)
|
racc (1.6.0)
|
||||||
rack (2.2.3)
|
rack (2.2.3)
|
||||||
rack-mini-profiler (3.0.0)
|
rack-mini-profiler (3.0.0)
|
||||||
@ -254,9 +252,8 @@ DEPENDENCIES
|
|||||||
high_voltage (~> 3.1)
|
high_voltage (~> 3.1)
|
||||||
importmap-rails
|
importmap-rails
|
||||||
mina
|
mina
|
||||||
mina-puma
|
|
||||||
net-ssh
|
net-ssh
|
||||||
puma (= 4.3.10)
|
passenger
|
||||||
rack-mini-profiler
|
rack-mini-profiler
|
||||||
rails (~> 7.0)
|
rails (~> 7.0)
|
||||||
sassc-rails
|
sassc-rails
|
||||||
|
@ -13,7 +13,7 @@ set :application_name, 'gateway'
|
|||||||
set :domain, 'web-server.local'
|
set :domain, 'web-server.local'
|
||||||
set :deploy_to, '/home/feenix/gateway'
|
set :deploy_to, '/home/feenix/gateway'
|
||||||
set :repository, "https://github.com/rubydesign/gateway.git"
|
set :repository, "https://github.com/rubydesign/gateway.git"
|
||||||
set :branch, 'main'
|
set :branch, 'passenger'
|
||||||
|
|
||||||
# Optional settings:
|
# Optional settings:
|
||||||
set :user, 'feenix' # Username in the server to SSH to.
|
set :user, 'feenix' # Username in the server to SSH to.
|
||||||
@ -59,7 +59,7 @@ task :deploy do
|
|||||||
|
|
||||||
on :launch do
|
on :launch do
|
||||||
in_path(fetch(:current_path)) do
|
in_path(fetch(:current_path)) do
|
||||||
invoke :'puma:hard_restart'
|
invoke :'passenger:restart'
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user