Fix Capistrano Puma tasks
This commit is contained in:
parent
e97dd3a09f
commit
48c979549f
3
Capfile
3
Capfile
|
@ -25,6 +25,9 @@ require "capistrano/bundler"
|
|||
require "capistrano/rails/assets"
|
||||
require "capistrano/rails/migrations"
|
||||
require "capistrano/puma"
|
||||
install_plugin Capistrano::Puma # Default puma tasks
|
||||
install_plugin Capistrano::Puma::Workers # if you want to control the workers (in cluster mode)
|
||||
install_plugin Capistrano::Puma::Nginx # if you want to upload a nginx site template
|
||||
# require 'capistrano/puma/nginx' # if you want to upload a nginx site template
|
||||
# require 'capistrano/passenger'
|
||||
# require 'capistrano/rvm'
|
||||
|
|
|
@ -34,7 +34,7 @@ set :linked_dirs, fetch(:linked_dirs, []).push("log", "tmp/uploads", "tmp/pids",
|
|||
# Default value for keep_releases is 5
|
||||
set :keep_releases, 10
|
||||
|
||||
set :rvm_ruby_version, "2.2.2"
|
||||
set :rvm_ruby_version, "2.6.3"
|
||||
|
||||
set :puma_bind, ["tcp://127.0.0.1:9087"]
|
||||
set :puma_init_active_record, true
|
||||
|
|
Loading…
Reference in New Issue