lock '~> 3.10'

set :application, 'rails-contributors'
set :repo_url, 'git://github.com/fxn/rails-contributors.git'

set :deploy_to, '/home/rails/rails-contributors'

set :log_level, :info

set :linked_files, %w{config/database.yml}
set :linked_dirs, %w{log tmp/pids tmp/cache tmp/sockets public/system public/assets rails.git}

set :keep_releases, 5

set :bundle_without, %w{development test deployment}.join(' ')

lock '~> 3.10'

set :application, 'rails-contributors'
set :repo_url, 'git://github.com/fxn/rails-contributors.git'

set :deploy_to, '/home/rails/rails-contributors'

set :log_level, :info

set :linked_files, %w{config/database.yml}
set :linked_dirs, %w{log tmp/pids tmp/cache tmp/sockets public/system public/assets rails.git}

set :keep_releases, 5

set :bundle_without, %w{development test deployment}.join(' ')

set :puma_workers, 1

Set the number of puma workers to 1
Set the number of puma workers to 1

The machine only have 1 CPU so it is better to only have 1 worker
otherwise the two workers would be fighting against each other and may
cause timeout on boot.
