diff options
author | jomo <github@jomo.tv> | 2015-03-23 01:37:03 +0100 |
---|---|---|
committer | jomo <github@jomo.tv> | 2015-03-23 01:37:03 +0100 |
commit | e1ffb534dbe2162a0621eb401218a1c548317364 (patch) | |
tree | 61e038fd5ffc8c2cd0be4343ab77836dbf1b6377 /config | |
parent | 408956271dbe054b8d953fafaf5cf69e99790baa (diff) |
fu capistrano
Diffstat (limited to 'config')
-rw-r--r-- | config/deploy.rb | 4 |
1 files changed, 4 insertions, 0 deletions
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)}" } |