Commit 83a959d6 by John Doe

added capistrano passenger to restart server on deploy

parent 7ac5389a
Showing with 5 additions and 0 deletions
......@@ -59,6 +59,7 @@ group :development, :test do
gem 'capistrano', '~> 3.6'
gem 'capistrano-rails', '~> 1.2'
gem 'capistrano-rbenv', '~> 2.0'
gem 'capistrano-passenger'
end
# NOTE: install mailcatcher for development
......
......@@ -58,6 +58,8 @@ GEM
capistrano-bundler (1.2.0)
capistrano (~> 3.1)
sshkit (~> 1.2)
capistrano-passenger (0.2.0)
capistrano (~> 3.0)
capistrano-rails (1.2.3)
capistrano (~> 3.1)
capistrano-bundler (~> 1.1)
......@@ -339,6 +341,7 @@ PLATFORMS
DEPENDENCIES
byebug
capistrano (~> 3.6)
capistrano-passenger
capistrano-rails (~> 1.2)
capistrano-rbenv (~> 2.0)
coffee-rails (~> 4.1.0)
......
......@@ -9,6 +9,7 @@ set :rbenv_type, :user
set :rbenv_prefix, "RBENV_ROOT=#{fetch(:rbenv_path)} RBENV_VERSION=#{fetch(:rbenv_ruby)} #{fetch(:rbenv_path)}/bin/rbenv exec"
set :rbenv_map_bins, %w{rake gem bundle ruby rails}
set :rbenv_roles, :all # default value
set :passenger_restart_with_touch, true
# Default branch is :master
# ask :branch, `git rev-parse --abbrev-ref HEAD`.chomp
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment