Glenn M. Lewis wrote:
> Hi!  Say I have a script called "gen.rb", and I would like it
> to load a script called "loadme.rb" because it provides a common
> routine used by a lot of scripts, but I don't want to install
> it anywhere in the search path... I just want to keep it with
> all the .rb files that actually use it... How do I specify
> the directory that 'this' current script is in?

You can add an entry to $LOAD_PATH, or $: (same thing), and it will 
affect only the currently running script. But you still would have to 
use File.dirname(__FILE__) . So, for example:

   $LOAD_PATH.unshift(File.dirname(__FILE__))