Set deploy socket
This commit is contained in:
1
Gemfile
1
Gemfile
@@ -42,6 +42,7 @@ group :development do
|
|||||||
gem "standardrb"
|
gem "standardrb"
|
||||||
gem "capistrano", "~> 3.17", require: false
|
gem "capistrano", "~> 3.17", require: false
|
||||||
gem "capistrano-bundler"
|
gem "capistrano-bundler"
|
||||||
|
gem "capistrano-rbenv", "~> 2.2"
|
||||||
gem 'capistrano3-puma', github: "seuros/capistrano-puma"
|
gem 'capistrano3-puma', github: "seuros/capistrano-puma"
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@@ -34,6 +34,9 @@ GEM
|
|||||||
sshkit (>= 1.9.0)
|
sshkit (>= 1.9.0)
|
||||||
capistrano-bundler (1.6.0)
|
capistrano-bundler (1.6.0)
|
||||||
capistrano (~> 3.1)
|
capistrano (~> 3.1)
|
||||||
|
capistrano-rbenv (2.2.0)
|
||||||
|
capistrano (~> 3.1)
|
||||||
|
sshkit (~> 1.3)
|
||||||
coderay (1.1.3)
|
coderay (1.1.3)
|
||||||
concurrent-ruby (1.1.10)
|
concurrent-ruby (1.1.10)
|
||||||
database_cleaner-core (2.0.1)
|
database_cleaner-core (2.0.1)
|
||||||
@@ -309,6 +312,7 @@ DEPENDENCIES
|
|||||||
builder
|
builder
|
||||||
capistrano (~> 3.17)
|
capistrano (~> 3.17)
|
||||||
capistrano-bundler
|
capistrano-bundler
|
||||||
|
capistrano-rbenv (~> 2.2)
|
||||||
capistrano3-puma!
|
capistrano3-puma!
|
||||||
database_cleaner-sequel
|
database_cleaner-sequel
|
||||||
dotenv
|
dotenv
|
||||||
|
@@ -12,4 +12,6 @@ on_worker_boot do
|
|||||||
Hanami.shutdown
|
Hanami.shutdown
|
||||||
end
|
end
|
||||||
|
|
||||||
|
pidfile ENV.fetch("PIDFILE") { "tmp/pids/puma.pid" }
|
||||||
|
|
||||||
preload_app!
|
preload_app!
|
||||||
|
Reference in New Issue
Block a user