Fix Capistrano Puma tasks

This commit is contained in:
Petko Bordjukov 2019-04-29 00:14:57 +03:00
parent e97dd3a09f
commit 48c979549f
2 changed files with 4 additions and 1 deletions

View File

@ -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'

View File

@ -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