diff --git a/Capfile b/Capfile index f58f598..a27c699 100644 --- a/Capfile +++ b/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' diff --git a/config/deploy.rb b/config/deploy.rb index f6be4ce..346bf01 100644 --- a/config/deploy.rb +++ b/config/deploy.rb @@ -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