title: I can't load library in ruby
body: <p>I am having a problem loading library in Ruby.
  I want to load gibberish, mechanize, colorize.
  So I first installed the lib:</p>
  <pre><code>sudo gem install gibberish mechanize colorize
  </code></pre>
  <p>i got no error for this, both on Ubuntu 18.04 LTS and macOS 10.14.4.</p>
  <p>My script's content is as following:</p>
  <pre><code>#!/usr/bin/env ruby
  
  require 'mechanize'
  require 'colorize'
  require 'gibberish'
  </code></pre>
  <p>when i run, i get the following error:</p>
  <pre><code>Traceback (most recent call last):
      2: from test:3:in `&lt;main&gt;'
      1: from /snap/ruby/167/lib/ruby/2.7.0/rubygems/core_ext/kernel_require.rb:92:in `require'
  /snap/ruby/167/lib/ruby/2.7.0/rubygems/core_ext/kernel_require.rb:92:in `require': cannot load such file -- mechanize (LoadError)
  </code></pre>
  <p>Also, when i change the order of require of library like</p>
  <pre><code>#!/usr/bin/env ruby
  
  require 'gibberish'
  require 'mechanize'
  require 'colorize'
  </code></pre>
  <p>i get error of glibberish.
  How can i fix? Thanks</p>