title: Using the -r command line Ruby switch
body: <p>The -rname Ruby switch can be only used to require something that already exists in Ruby's library, or can I use it to also require from the command line an external file created by me? For example, I'm trying to run a program "loaddemo.rb" with a "loadee.rb" file already required:</p>
  
  <pre><code>ruby -rloadee loaddemo.rb
  </code></pre>
  
  <p>It doesn't work. What is my mistake here? </p>