Skip to content

Commit

Permalink
Updating the puma configuration in the capfile
Browse files Browse the repository at this point in the history
  • Loading branch information
cyrusstoller committed Oct 9, 2018
1 parent a6a1e28 commit f0c639f
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions Capfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 }

0 comments on commit f0c639f

Please sign in to comment.