title: Ruby - Where to put resource files that a module in lib relies on?
body: <p>I am trying to structure my ruby project following best practices.  I currently have something like this:</p>
  <pre><code>test_project/
     bin/
         test_project # My Executable
     lib/
         test_project/
             my_module.rb
         test_project.rb # Loads my_module.rb
  </code></pre>
  <p>I setup it up this way based on recommendations I found on the web.</p>
  <p>My problem is I have some resource files, &quot;resouce1.txt&quot; and &quot;resouce2.txt&quot;.  My executable   needs to open the file &quot;resource1.txt&quot;.  my_module.rb needs to be able to open the file &quot;resource2.txt&quot;.  Where do I put these plan text resource files in this directory structure and how to I open them (File.open) from the corresponding ruby files.</p>