title: RVM Gemset - Bundler & Capistrano in Production
body: <p>I'm deploying a rails app to a VPS with capistrano, bundler and rvm. 
  Here is part of my deploy.rb</p>
  
  <pre><code>$:.unshift(File.expand_path('./lib', ENV['rvm_path']))
  require "rvm/capistrano"     
  require "bundler/capistrano"             # Load RVM's capistrano plugin.
  
  set :rvm_type, :system
  set :rvm_ruby_string, '1.9.2@gemset_name'
  </code></pre>
  
  <p>my .rvmrc</p>
  
  <pre><code>rvm --create use 1.9.2@gemset_name
  </code></pre>
  
  <p>When I logged into the server I noticed that the rvm gemset was created, however all the gems were installed in /shared/bundle/ruby/1.9.1/gems --not in the gemset(/usr/local/rvm/gemset)</p>
  
  <p>I use RVM in development and I think it's great but when is time to deploy to production. what are the best practices? Is there a way to tell bundler to install the gems in the gemset?</p>
  
  <p>Do I even need a gemset at all? (seems like bundler is already isolating gemsets), Am I missing something? </p>
  
  <p>Please help me understand!</p>
  
  <p>Thank you very much</p>