summaryrefslogtreecommitdiff
path: root/config/deploy.rb
diff options
context:
space:
mode:
authorTyler Mercier <tylermercier@gmail.com>2013-07-22 19:32:56 -0600
committerTyler Mercier <tylermercier@gmail.com>2013-07-22 19:32:56 -0600
commit805b3f9f6f22a3e6681f144f1b39945c54959126 (patch)
tree8b7c8ffe8b41e0f33bf73a13f5ddbc3d80d3ec15 /config/deploy.rb
parent7e5f636c169c2e5d1d94eada0e25e06586617c21 (diff)
try crazy things from SO
Diffstat (limited to 'config/deploy.rb')
-rw-r--r--config/deploy.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/config/deploy.rb b/config/deploy.rb
index e974243..4706dd7 100644
--- a/config/deploy.rb
+++ b/config/deploy.rb
@@ -27,7 +27,8 @@ set :scm, "git"
set :branch, "master"
set :repository, "git@github.com:madebyuppercut/parley.git"
-set :rvm_ruby_string, :local # use the same ruby as used locally for deployment
+#set :rvm_ruby_string, :local # use the same ruby as used locally for deployment
+set :rvm_ruby_string, ENV['GEM_HOME'].gsub(/.*\//,"")
default_run_options[:pty] = true # password prompt
ssh_options[:forward_agent] = true # no deploy key for github