diff options
| author | Tyler Mercier <tylermercier@gmail.com> | 2013-07-22 19:44:06 -0600 |
|---|---|---|
| committer | Tyler Mercier <tylermercier@gmail.com> | 2013-07-22 19:44:06 -0600 |
| commit | 27c211d35e40e409bbdac4c70dc3c7734ca5eb88 (patch) | |
| tree | aacdb595e5c5c64163f65f8abf6e8897c0f6e560 /config | |
| parent | 805b3f9f6f22a3e6681f144f1b39945c54959126 (diff) | |
hard code path/ruby stuffs
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 |
