title: How to require some lib files from anywhere
body: <p>I'll explain my situation.</p>
  
  <p>Here is my file tree in my rails application : </p>
  
  <p>lib/my_module.rb </p>
  
  <pre><code>require 'my_module/my_file'
  
  module My_module
  
  end
  </code></pre>
  
  <p>lib/my_module/my_file.rb</p>
  
  <pre><code>class Tweetag::Collector
     (...)
  end
  </code></pre>
  
  <p>I've made a ruby script that I've put in config/jobs/</p>
  
  <p>I really don't understand how I am supposed to require the file my_file.rb in this file.</p>
  
  <pre><code>require '../../my_module/my_file.rb'
  </code></pre>
  
  <p>It gives me  `require': cannot load such file</p>
  
  <p>Same error with just require 'my_module' which is what I do in my controllers...</p>
  
  <p>Someone here to explain to me ? Thanks a lot </p>