README.md in capistrano3-puma-0.8.5 vs README.md in capistrano3-puma-0.9.0
- old
+ new
@@ -18,19 +18,19 @@
## Usage
```ruby
# Capfile
require 'capistrano/puma'
- require 'capistrano/puma/workers' #if you want to control the workers (in cluster mode)
- require 'capistrano/puma/jungle' #if you need the jungle tasks
- require 'capistrano/puma/monit' #if you need the monit tasks
- require 'capistrano/puma/nginx' #if you want to upload a nginx site template
+ require 'capistrano/puma/workers' # if you want to control the workers (in cluster mode)
+ require 'capistrano/puma/jungle' # if you need the jungle tasks
+ require 'capistrano/puma/monit' # if you need the monit tasks
+ require 'capistrano/puma/nginx' # if you want to upload a nginx site template
```
then you can use ```cap -vT``` to list tasks
```
-cap puma:nginx_config # upload a nginx site config(eg. /etc/nginx/site-enabled/)
+cap puma:nginx_config # upload a nginx site config(eg. /etc/nginx/sites-enabled/)
cap puma:config # upload puma config(eg. shared/puma.config)
```
you may want to customize these two templates locally before uploading
```
rails g capistrano:nginx_puma:config
@@ -66,10 +66,9 @@
set :puma_threads, [0, 16]
set :puma_workers, 0
set :puma_worker_timeout, nil
set :puma_init_active_record, false
set :puma_preload_app, true
- set :puma_prune_bundler, false
```
For Jungle tasks (beta), these options exist:
```ruby
set :puma_jungle_conf, '/etc/puma.conf'
set :puma_run_path, '/usr/local/bin/run-puma'