Puma support for Capistrano 3.x
Add this line to your application's Gemfile:
gem 'capistrano', github: 'capistrano/capistrano', branch: 'v3'
gem 'capistrano-puma', github: 'ahmadsherif/capistrano-puma'
And then execute:
$ bundle
Finally add this line to you application's Capfile:
require 'capistrano/puma'
Since the code is mostly a copy-n-paste of capistrano support in puma
gem, it behaves just the same.
We added some changes to the rake tasks to make the start/stop/restart behaviour more flexible for the different possible variants of puma setups.
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request