From f0c639f4556813b2aeed5b2f214ffc6aac56cced Mon Sep 17 00:00:00 2001 From: Cyrus Stoller Date: Tue, 9 Oct 2018 00:59:14 -0700 Subject: [PATCH] Updating the puma configuration in the capfile --- Capfile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Capfile b/Capfile index 59a7af4..eaa555f 100644 --- a/Capfile +++ b/Capfile @@ -34,8 +34,11 @@ require "capistrano/rails/assets" require "capistrano/rails/migrations" # require "capistrano/passenger" require 'capistrano/puma' -require 'capistrano/puma/nginx' # if you want to upload a nginx site template -require 'capistrano/puma/monit' +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::Jungle # if you need the jungle tasks +install_plugin Capistrano::Puma::Monit # if you need the monit tasks +install_plugin Capistrano::Puma::Nginx # if you want to upload a nginx site template # Load custom tasks from `lib/capistrano/tasks` if you have any defined Dir.glob("lib/capistrano/tasks/*.rake").each { |r| import r }