title: I can't run bundle it show bundle: command not found
body: <p>I install bundle by using </p>
  
  <pre><code>sudo bundle install and sudo gem install bundler
  </code></pre>
  
  <p>It show error </p>
  
  <pre><code>bundle: command not found
  </code></pre>
  
  <p>I set path like this.</p>
  
  <pre><code>export PATH=$PATH:/var/lib/gems/1.8/bin
  </code></pre>
  
  <p>When I run command <code>gem environment</code> it show like this.</p>
  
  <pre><code>RubyGems Environment:
    - RUBYGEMS VERSION: 2.6.8
    - RUBY VERSION: 1.8.7 (2010-01-10 patchlevel 249) [x86_64-linux]
    - INSTALLATION DIRECTORY: /usr/lib/ruby/gems/1.8
    - USER INSTALLATION DIRECTORY: /root/.gem/ruby/1.8
    - RUBY EXECUTABLE: /usr/bin/ruby1.8
    - EXECUTABLE DIRECTORY: /usr/bin
    - SPEC CACHE DIRECTORY: /root/.gem/specs
    - SYSTEM CONFIGURATION DIRECTORY: /etc
    - RUBYGEMS PLATFORMS:
      - ruby
      - x86_64-linux
    - GEM PATHS:
       - /usr/lib/ruby/gems/1.8
       - /root/.gem/ruby/1.8
    - GEM CONFIGURATION:
       - :update_sources =&gt; true
       - :verbose =&gt; true
       - :backtrace =&gt; false
       - :bulk_threshold =&gt; 1000
       - "gem" =&gt; "--no-rdoc --no-ri"
    - REMOTE SOURCES:
       - https://rubygems.org/
    - SHELL PATH:
       - /usr/local/sbin
       - /usr/local/bin
       - /usr/sbin
       - /usr/bin
       - /sbin
       - /bin
       - /usr/games
  </code></pre>
  
  <p>When I run command <code>echo $PATH</code> it show like this.</p>
  
  <pre><code>/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
  </code></pre>
  
  <p>How to fix error <strong>bundle: command not found</strong> ?</p>