diff options
Diffstat (limited to 'config')
| -rw-r--r-- | config/deploy.rb | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/config/deploy.rb b/config/deploy.rb index 4706dd7..8ebbda6 100644 --- a/config/deploy.rb +++ b/config/deploy.rb @@ -27,8 +27,14 @@ 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, ENV['GEM_HOME'].gsub(/.*\//,"") +# set :rvm_ruby_string, :local + +set :default_environment, { + 'PATH' => "/home/demo/.rvm/gems/ruby-2.0.0-p247/bin:/home/demo/.rvm/gems/ruby-2.0.0-p247@global/bin:/home/demo/.rvm/rubies/ruby-2.0.0-p247/bin:/home/demo/.rvm/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games", + 'RUBY_VERSION' => 'ruby-2.0.0-p247', + 'GEM_HOME' => "/home/demo/.rvm/gems/ruby-2.0.0-p247", + 'GEM_PATH' => "/home/demo/.rvm/gems/ruby-2.0.0-p247:/home/demo/.rvm/gems/ruby-2.0.0-p247@global" +} default_run_options[:pty] = true # password prompt ssh_options[:forward_agent] = true # no deploy key for github |
