summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorjomo <github@jomo.tv>2015-03-23 01:37:03 +0100
committerjomo <github@jomo.tv>2015-03-23 01:37:03 +0100
commite1ffb534dbe2162a0621eb401218a1c548317364 (patch)
tree61e038fd5ffc8c2cd0be4343ab77836dbf1b6377 /config
parent408956271dbe054b8d953fafaf5cf69e99790baa (diff)
fu capistrano
Diffstat (limited to 'config')
-rw-r--r--config/deploy.rb4
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)}" }