title: 'require': cannot load such file 'gem' (LoadError)
body: <p>I realize there is a ton of questions identical to this however I have had no success in fixing my issue. I am trying to use the gem 'vpn' and for learning purposes I figured I would open up a brand new project. Having followed the installation instructions on: <a href="https://github.com/ronen/vpn" rel="nofollow noreferrer">https://github.com/ronen/vpn</a> (the gem is also on rubygems.org) and requiring the gem in my code, I get <code>require': cannot load such file -- vpn (LoadError)</code>.</p>
  
  <p>I have verified my version. <code>gem env</code> gives</p>
  
  <pre><code>RubyGems Environment:
    - RUBYGEMS VERSION: 2.7.7
    - RUBY VERSION: 2.5.1 (2018-03-29 patchlevel 57) [x86_64-darwin17]
    - INSTALLATION DIRECTORY: /Users/user/.rvm/gems/ruby-2.5.1
    - USER INSTALLATION DIRECTORY: /Users/user/.gem/ruby/2.5.0
    - RUBY EXECUTABLE: /Users/user/.rvm/rubies/ruby-2.5.1/bin/ruby
    - EXECUTABLE DIRECTORY: /Users/user/.rvm/gems/ruby-2.5.1/bin
    - SPEC CACHE DIRECTORY: /Users/user/.gem/specs
    - SYSTEM CONFIGURATION DIRECTORY: /Users/user/.rvm/rubies/ruby-2.5.1/etc
    - RUBYGEMS PLATFORMS:
      - ruby
      - x86_64-darwin-17
    - GEM PATHS:
       - /Users/user/.rvm/gems/ruby-2.5.1
       - /Users/user/.rvm/gems/ruby-2.5.1@global
    - GEM CONFIGURATION:
       - :update_sources =&gt; true
       - :verbose =&gt; true
       - :backtrace =&gt; false
       - :bulk_threshold =&gt; 1000
    - REMOTE SOURCES:
       - https://rubygems.org/
    - SHELL PATH:
       - /Users/user/.rvm/gems/ruby-2.5.1/bin
       - /Users/user/.rvm/gems/ruby-2.5.1@global/bin
       - /Users/user/.rvm/rubies/ruby-2.5.1/bin
       - /Users/user/.rvm/bin
       - /Library/Frameworks/Python.framework/Versions/3.7/bin
       - /Library/Frameworks/Python.framework/Versions/3.7/bin
       - /usr/local/bin
       - /usr/bin
       - /bin
       - /usr/sbin
       - /sbin
       - /Applications/Wireshark.app/Contents/MacOS
  </code></pre>
  
  <p><code>ruby --version</code> gives <code>ruby 2.5.1p57 (2018-03-29 revision 63029) [x86_64-darwin17]</code></p>
  
  <p>In my gem file I have <code>gem: 'vpn'</code></p>
  
  <p><code>gem list</code> does return <code>vpn (0.2.1)</code></p>
  
  <p>Any help would be greatly appreciated. Thanks in advance.</p>
  
  <p>What I have tried:</p>
  
  <ul>
  <li>Reinstalling the gem</li>
  <li>Manually moving the gem to the location</li>
  <li>Sudo gem install</li>
  <li><a href="https://stackoverflow.com/questions/26360657/many-require-cannot-load-such-file-gem-name-loaderror-after-upgrade-o">Many: `require&#39;: cannot load such file -- &quot;gem_name&quot; (LoadError) after upgrade of ruby/rails</a></li>
  <li><a href="https://stackoverflow.com/questions/25160377/rails-loaderror-cannot-load-such-file-requiring-a-gem">Rails: LoadError - Cannot load such file (requiring a gem)</a> (I do not have a server going)</li>
  <li><a href="https://stackoverflow.com/questions/2261981/gem-which-cannot-find-gem-despite-it-being-installed">gem which cannot find gem despite it being installed</a></li>
  <li><a href="https://stackoverflow.com/questions/42379882/railties-loaderror-cannot-load-such-file">railties (LoadError) Cannot load such file</a></li>
  <li><a href="https://stackoverflow.com/questions/22211711/how-to-check-if-a-gem-is-installed">How to check if a gem is installed?</a></li>
  </ul>
  
  <p>P.S I do not have a rake file. I haven't set one up because I'm not too entirely sure it will fix my problem and I've had problems finding out how to create one.</p>