title: bundle install -jailshell: bundle: command not found on shared hosting
body: <p>Bundle install is not working on shared hosting , but i installed gem bundle , when i ran the following command </p>
  
  <p>i tried </p>
  
  <p><em><strong>bundle install</em></strong> </p>
  
  <pre><code>-jailshell: bundle: command not found
  </code></pre>
  
  <p><em><strong>so i try to evaluate the following commands</em></strong></p>
  
  <p><strong>gem list bundler -v 1.1.4</strong></p>
  
  <pre><code>*** REMOTE GEMS ***
  
  bundler (1.1.4)
  bundler-auto-update (0.0.4)
  bundler-bootstrap (0.0.3)
  bundler-bouncer (0.1.2)
  bundler-fastupdate (0.0.3)
  bundler-github (0.2.0)
  bundler-maglev- (1.0.21)
  bundler-talks (0.0.4)
  bundler08 (0.8.5)
  bundler_bash_completion (0.1.1)
  bundler_geminabox (0.0.1)
  bundler_local_development (0.3.0)
  bundler_push_host (0.0.1)
  bundler_timer (1.1.2)
  </code></pre>
  
  <p>bundler has installed , but i don't know why its not working?</p>
  
  <p>when i ran  </p>
  
  <p><strong>gem env</strong></p>
  
  <pre><code>RubyGems Environment:
    - RUBYGEMS VERSION: 1.8.15
    - RUBY VERSION: 1.8.7 (2011-02-18 patchlevel 334) [x86_64-linux]
    - INSTALLATION DIRECTORY: /home/username/ruby/gems
    - RUBY EXECUTABLE: /usr/bin/ruby
    - EXECUTABLE DIRECTORY: /home/username/ruby/gems/bin
    - RUBYGEMS PLATFORMS:
      - ruby
      - x86_64-linux
    - GEM PATHS:
       - /home/username/ruby/gems
    - GEM CONFIGURATION:
       - :update_sources =&gt; true
       - :verbose =&gt; true
       - :benchmark =&gt; false
       - :backtrace =&gt; false
       - :bulk_threshold =&gt; 1000
       - "gempath" =&gt; []
       - "gem" =&gt; "--remote --gen-rdoc --run-tests"
       - "gemhome" =&gt; "/home/username/ruby/gems"
       - "rdoc" =&gt; "--inline-source --line-numbers"
    - REMOTE SOURCES:
       - http://rubygems.org/
  </code></pre>
  
  <p><strong>echo $PATH</strong></p>
  
  <pre><code>/usr/local/jdk/bin:/home/username/perl5/bin:/usr/kerberos/bin:/usr/lib/courier-imap/bin:/usr/local/bin:/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin:/home/username/bin
  </code></pre>
  
  <p><strong>uname -mrsn</strong></p>
  
  <pre><code>Linux osprey.arvixe.com 2.6.18-374.3.1.el5.lve0.8.44 x86_64
  </code></pre>
  
  <p><strong>more /proc/version</strong></p>
  
  <pre><code>Linux version 2.6.18-374.3.1.el5.lve0.8.44 (mockbuild@buildfarm.cloudlinux.com)
  (gcc version 4.1.2 20080704 (Red Hat 4.1.2-51)) #1 SMP Mon Oct 3 18:27:54 EEST 2
  011
  </code></pre>
  
  <p><strong>which gem</strong></p>
  
  <pre><code>/usr/bin/gem
  </code></pre>
  
  <p><strong>which ruby</strong></p>
  
  <pre><code>/usr/bin/ruby
  </code></pre>
  
  <p><strong>which rails</strong></p>
  
  <pre><code>/usr/bin/rails
  </code></pre>
  
  <p><strong>ruby -v</strong></p>
  
  <pre><code>ruby 1.8.7 (2011-02-18 patchlevel 334) [x86_64-linux]
  </code></pre>
  
  <p><strong>rails -v</strong></p>
  
  <pre><code>Rails 2.3.14
  </code></pre>
  
  <p><strong>gem -v</strong></p>
  
  <pre><code>1.8.15
  </code></pre>
  
  <p><strong>locate bundle</strong></p>
  
  <pre><code>locate: can not open `/var/lib/mlocate/mlocate.db': Permission denied
  </code></pre>
  
  <p><em><strong>Guys Please help me basic bundle install command is not working , so i don't know what todo and also i am new to ruby on rails.</em></strong></p>