title: Script is not running on server, it can't find my gems
body: <p>I have a simple script of 2 files I just uploaded to my server.</p>
  
  <ol>
  <li>Gemfile</li>
  <li>hello.rb</li>
  </ol>
  
  <p>When I run:</p>
  
  <pre><code>bundle install
  </code></pre>
  
  <p>It installed the gems.</p>
  
  <p>When I run:</p>
  
  <p>ruby hello.rb</p>
  
  <p>I get the error:</p>
  
  <pre><code>/usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require': cannot load such file -- HTTPClient (LoadError)
      from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
  </code></pre>
  
  <p>I ran gem install for each of the gems again, still same error.</p>
  
  <p><code>gem list</code> command lists the gems correctly also.</p>
  
  <p><strong>What could the issue be?</strong></p>
  
  <p>I have already run this also:</p>
  
  <pre><code>sudo apt-get install ruby-dev
  </code></pre>
  
  <p><b>Update</b>
  gem env output is:</p>
  
  <pre><code>RubyGems Environment:
    - RUBYGEMS VERSION: 1.8.23
    - RUBY VERSION: 1.9.3 (2013-11-22 patchlevel 484) [x86_64-linux]
    - INSTALLATION DIRECTORY: /var/lib/gems/1.9.1
    - RUBY EXECUTABLE: /usr/bin/ruby1.9.1
    - EXECUTABLE DIRECTORY: /usr/local/bin
    - RUBYGEMS PLATFORMS:
      - ruby
      - x86_64-linux
    - GEM PATHS:
       - /var/lib/gems/1.9.1
       - /root/.gem/ruby/1.9.1
       - /usr/share/rubygems-integration/1.9.1
       - /usr/share/rubygems-integration/all
    - 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>