title: Capistrano fails when trying to connect to remote db saying: rvm-shell no such file or directory
body: <p>I have a capistrano recipe that is using a remote database in a Rails 3 application. Here is part of the recipe:</p>
  
  <pre><code>role :web, "ip1"
  role :app, "ip1"
  role :db,  "ip2"
  
  set :rvm_type, :system
  set :rvm_ruby_string, '1.9.3'
  
  set :deploy_to, "/apps/gits/#{application}"
  set :deploy_via, :remote_cache
  set :deploy_env, 'production'
  </code></pre>
  
  <p>And capistrano is giving me this error: <code>usr/local/rvm/bin/rvm-shell: No such file or directory</code></p>
  
  <p>But if I comment out the database server (which doesn't have rvm) and let rails think the db is on the web server (which does have rvm) everything works fine. </p>
  
  <p>I'm assuming since :rvm_type is set to system capistrano is looking for it on the system, but why is it looking for it at all ? Is there any way around this ? </p>