title: Gem installed, but not found by Ruby?
body: <p>I have the following Capistrano snippet:</p>
  
  <pre><code>namespace :bundle do
      task :install do
          run "gem list &amp;&amp; bundle -v"
      end
  end
  </code></pre>
  
  <p>When I run</p>
  
  <pre><code>cap bundle:install
  </code></pre>
  
  <p>I get the following output:</p>
  
  <pre><code> ** [out :: ....compute-1.amazonaws.com]
   ** [out :: ....compute-1.amazonaws.com] *** LOCAL GEMS ***
   ** [out :: ....compute-1.amazonaws.com]
   ** [out :: ....compute-1.amazonaws.com]
   ** [out :: ....compute-1.amazonaws.com] bundler (1.3.4)
   ** [out :: ....compute-1.amazonaws.com] rake (10.0.3)
   ** [out :: ....compute-1.amazonaws.com] rubygems-bundler (1.1.1)
   ** [out :: ....compute-1.amazonaws.com] rvm (1.11.3.6)
   ** [out :: ....compute-1.amazonaws.com]
   ** [out :: ....compute-1.amazonaws.com] ERROR: Gem bundler is not installed, run `gem install bundler` first.
  </code></pre>
  
  <p>gem is showing bundler is installed, but when I try to run bundle -v, I get a contradicting error saying it's not? I don't understand why?</p>
  
  <p>The other thing I tried was to login to the server via terminal, when I run bundle -v there, it works fine?</p>
  
  <p>Any ideas what's wrong?</p>