title: RVM, Capistrano and bundler path issues
body: <p>i seem to have a discrepancy between production's gem path when I installed manually versus  by bundler+capistrano. </p>
  
  <p>After rvm installing ruby 1.9.2 and creating a gemset "myapp", i did install bundler via gem install bundler.  </p>
  
  <p>It was installed into the path:</p>
  
  <blockquote>
    <p><strong>/usr/local/rvm/gems/ruby-1.9.2-p290@myapp</strong>/gems</p>
  </blockquote>
  
  <p>Bundler via Capistrano installed the remaining gems into:</p>
  
  <blockquote>
    <p><strong>/usr/local/rvm/gems/ruby-1.9.2-p290@myapp/ruby/1.9.1</strong>/gems</p>
  </blockquote>
  
  <p>Beginning of my deploy.rb file is:</p>
  
  <pre><code>$:.unshift(File.expand_path('./lib', ENV['rvm_path']))
  require 'rvm/capistrano'
  require 'bundler/capistrano'
  
  set :rails_env,             'production'
  set :rvm_type,              :system
  set :rvm_ruby_string, "ruby-1.9.2-p290@myapp"
  set :rvm_path,              "/usr/local/rvm"
  set :rvm_bin_path,      "#{rvm_path}/bin"
  set :rvm_lib_path,      "#{rvm_path}/lib"
  
  set :default_environment, {
    'PATH'                    =&gt; "#{rvm_path}/gems/ruby/1.9.1/bin:#{rvm_bin_path}/bin:$PATH",
    'RUBY_VERSION'    =&gt; '1.9.2',
    'GEM_HOME'        =&gt; "#{rvm_path}/gems/#{rvm_ruby_string}",
    'GEM_PATH'        =&gt; "#{rvm_path}/gems/#{rvm_ruby_string}",
    'BUNDLE_PATH'     =&gt; "#{rvm_path}/gems/#{rvm_ruby_string}"
  }
  
  set :bundle_dir,            "#{rvm_path}/gems/#{rvm_ruby_string}"
  set :bundle_flags,      "--deployment --verbose"
  </code></pre>