# Capistrano::Puma ## Installation Add this line to your application's Gemfile: gem 'capistrano-puma', github: "seuros/capistrano-puma" And then execute: $ bundle ## Usage # Capfile require 'capistrano/puma' require 'capistrano/puma/jungle' #if you need the jungle tasks Configurable options, shown here with defaults: set :puma_state, "#{shared_path}/tmp/pids/puma.state" set :puma_pid, "#{shared_path}/tmp/pids/puma.pid" set :puma_bind, "unix://#{shared_path}/tmp/sockets/puma.sock" set :puma_conf, "#{shared_path}/config/puma.rb" set :puma_access_log, "#{shared_path}/log/puma_error.log" set :puma_error_log, "#{shared_path}/log/puma_access.log" set :puma_role, :app set :puma_env, fetch(:rack_env, fetch(:rails_env, 'production')) set :puma_threads, [0, 16] set :puma_workers, 0 For RVM users, it is advisable to set in your deploy.rb for now : set :puma_cmd, "#{fetch(:bundle_cmd, 'bundle')} exec puma" set :pumactl_cmd, "#{fetch(:bundle_cmd, 'bundle')} exec pumactl" ## Contributors [molfar](https://github.com/molfar) ## Contributing 1. Fork it 2. Create your feature branch (`git checkout -b my-new-feature`) 3. Commit your changes (`git commit -am 'Add some feature'`) 4. Push to the branch (`git push origin my-new-feature`) 5. Create new Pull Request