title: Rails deployment with capistrano and bundler
body: <p>I want to deploy an rails app on a server, where the following setup is given.</p>
  
  <p>Systemwide installed is ruby and rubygems.
  As user i installed bundler and added the ~/.gems/bin to the path.</p>
  
  <p>inside the Capfile i set bundle_cmd to the local installation like</p>
  
  <pre><code>set :bundle_cmd, "/home/user/.gems/bin/bundle"
  </code></pre>
  
  <p>calling "bundle" from the cap shell is giving me the following error</p>
  
  <pre><code>/usr/lib/ruby/1.8/rubygems.rb:779:in `report_activate_error': Could not find RubyGem bundler (&gt;= 0) (Gem::LoadError)
  /usr/lib/ruby/1.8/rubygems.rb:214:in `activate'
  /usr/lib/ruby/1.8/rubygems.rb:1082:in `gem'
  /home/user/.gems/bin/bundle:18
  </code></pre>
  
  <p>Any ideas?</p>
  
  <p>Okay, i could install bundler as root but is that possible without?</p>