From e1ffb534dbe2162a0621eb401218a1c548317364 Mon Sep 17 00:00:00 2001 From: jomo Date: Mon, 23 Mar 2015 01:37:03 +0100 Subject: [PATCH] fu capistrano --- config/deploy.rb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/config/deploy.rb b/config/deploy.rb index c98443b..fef9c1b 100644 --- a/config/deploy.rb +++ b/config/deploy.rb @@ -7,6 +7,10 @@ set :scm, :git set :ssh_options, { forward_agent: true } +set :default_environment, { + 'PATH' => "$HOME/.rbenv/shims:$HOME/.rbenv/bin:$PATH" +} + set :keep_releases, 5 set :deploy_to, -> { "/home/www-data/apps/#{fetch(:application)}" }