wayneeseguin/rvm — Issue #803: rvm cat environment to out
Author: denisemauldin
Created: 2012-03-05 20:59:16+00:00
State: open

I have RVM installed system-wide in /u5/tools/rvm. I have a capistrano task in deploy.rb that dumps the remote mysql database and sftps it to the local machine and then loads it into mysql. This process works correctly for me.

A coworker who checked out the git project and tried to install it is getting /u5/tools/rvm/environments/system cat'd to output whenever he tries to run the capistrano task. This happens for something as simple as trying to make a directory.

executing "mkdir -p /u5/www/software/mms/current/tmp"
servers: ["halcyon"]
[halcyon] executing command
** [out :: halcyon] export PATH="/u5/tools/rvm/gems/ruby-1.9.2-p136/bin:/u5/tools/rvm/gems/ruby-1.9.2-p136@global/bin:/u5/tools/rvm/rubies/ruby-1.9.2-p136/bin:/u5/tools/rvm/bin:$PATH"
** [out :: halcyon] rvm_path='/u5/tools/rvm'
** [out :: halcyon] export rvm_path
** [out :: halcyon] RUBY_VERSION='ruby-1.9.2-p136'
** [out :: halcyon] export RUBY_VERSION
** [out :: halcyon] GEM_HOME='/u5/tools/rvm/gems/ruby-1.9.2-p136'
** [out :: halcyon] export GEM_HOME
** [out :: halcyon] GEM_PATH='/u5/tools/rvm/gems/ruby-1.9.2-p136:/u5/tools/rvm/gems/ruby-1.9.2-p136@global'
** [out :: halcyon] export GEM_PATH
** [out :: halcyon] MY_RUBY_HOME='/u5/tools/rvm/rubies/ruby-1.9.2-p136'
** [out :: halcyon] export MY_RUBY_HOME
** [out :: halcyon] IRBRC='/u5/tools/rvm/rubies/ruby-1.9.2-p136/.irbrc'
** [out :: halcyon] export IRBRC
** [out :: halcyon] rvm_ruby_string='ruby-1.9.2-p136'
** [out :: halcyon] export rvm_ruby_string
** [out :: halcyon] unset rvm_gemset_name
** [out :: halcyon] unset MAGLEV_HOME
command finished in 1474ms

My setup doesn't cat out the environment file and finishes in 133ms. What's going on here? Why does the same task end up cat'ing the environment file to out before each command on his set up but not mine?