title: cannot load such file
body: <p>I am building my own first Gem. After I created some functionality I ordered all the files like to the best practice of gem building.</p>
  <p>I moved all the files to right folders.
  The executable is in <code>bin/boss-mailer</code>, the rest is put all in the <code>lib</code> folder like:</p>
  <p><img src="https://i.stack.imgur.com/clFld.png" alt="enter image description here" /></p>
  <p>The executable is simple. I just set the executable to ruby and try to require the <code>boss_mailer.rb</code> in the lib file.</p>
  <p><img src="https://i.stack.imgur.com/sxAj2.png" alt="enter image description here" /></p>
  <p>This cannot load my file. I can require it by using <code>require &quot;./boss_mailer&quot;</code> beginning to pointing the current path.
  <strong>But</strong> in other Gems on Github I see that people just use <code>require &quot;filename&quot;</code> to reference to loading file. Like here: <a href="https://github.com/davetron5000/gli/blob/gli-2/bin/gli" rel="nofollow noreferrer">gli gem</a></p>
  <h3>My Question</h3>
  <p>Do I have to pre-build the gem or something else to require my files without to point to the current path?
  What do I have to do require the file <code>lib/boss_mailer'</code> without using <code>./</code>?</p>