title: Capistrano 'Bundle Not Found' Error During Deployment
body: <p>When I run <code>cap deploy:update</code> I get the error below, indicating that <code>bundle</code> is not found. When I run <code>echo $PATH</code> from <code>cap shell</code> the <code>/var/lib/gems/1.9.1/bin</code> path which contains bundle is missing, however, this path is in both <code>/etc/profile</code> and <code>~/.bashrc</code>. Anyone know how to solve this problem?</p>
  
  <pre><code>    [192.168.10.100] executing command
  *** [err :: 192.168.10.100] sh:
  *** [err :: 192.168.10.100] bundle: not found
  *** [err :: 192.168.10.100]
      command finished in 25ms
  failed: "sh -c 'bundle install --gemfile /data/www/apps/my_app/releases/201104
  04163717/Gemfile --path /data/www/apps/my_apps/shared/bundle --deployment --qui
  et --without development test'" on 192.168.10.100
  </code></pre>