title: Bundler: Command not found
body: <p>I am hosting on a vps, ubuntu 10.04, rails 3, ruby and mysql installed correctly by following some tutorials. If I run <code>bundle check</code> or <code>bundle install</code> I get the error '-bash: bundle: command not found'. From <code>gem list --local</code> I see 'bundler (1.0.2, 1.0.0)' is installed.</p>
  
  <p>I don't know what's going wrong...</p>
  
  <p><code>gem environment</code> returns:</p>
  
  <pre><code> RubyGems Environment:
    - RUBYGEMS VERSION: 1.3.7
    - RUBY VERSION: 1.8.7 (2010-04-19 patchlevel 253) [i686-linux]
    - INSTALLATION DIRECTORY: /opt/ruby-enterprise-1.8.7-2010.02/lib/ruby/gems/1.8
    - RUBY EXECUTABLE: /opt/ruby-enterprise-1.8.7-2010.02/bin/ruby
    - EXECUTABLE DIRECTORY: /opt/ruby-enterprise-1.8.7-2010.02/bin
    - RUBYGEMS PLATFORMS:
      - ruby
      - x86-linux
    - GEM PATHS:
       - /opt/ruby-enterprise-1.8.7-2010.02/lib/ruby/gems/1.8
       - /root/.gem/ruby/1.8
    - GEM CONFIGURATION:
       - :update_sources =&gt; true
       - :verbose =&gt; true
       - :benchmark =&gt; false
       - :backtrace =&gt; false
       - :bulk_threshold =&gt; 1000
    - REMOTE SOURCES:
       - http://rubygems.org/
  </code></pre>
  
  <p>and <code>echo $PATH</code> returns:</p>
  
  <pre><code>/opt/myruby/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/bin/gem:/opt/ruby-enterprise-1.8.7-2010.02/lib/ruby/gems/1.8/gems/:/root/.gem/ruby/1.8
  </code></pre>
  
  <p>and <code>which gem</code> returns:</p>
  
  <pre><code>/usr/bin/gem
  </code></pre>
  
  <p><code>locate bundle</code> returns:</p>
  
  <pre><code>/opt/ruby-enterprise-1.8.7-2010.02/lib/ruby/gems/1.8/
  </code></pre>