Hello,

Say I have "mod.rb" installed, and in "file.rb" I call it with:
require "mod"

I need "mod.rb" to know in which directory *it* is installed.  
Unfortunatelly, it interprets the current directory to be the current 
directory of "file.rb", as opposed to its own.

How can "mod.rb" find its own current directory?

Any help would be most appreciated.

-- 
Daniel Carrera
Graduate Teaching Assistant.  Math Dept.
University of Maryland.  (301) 405-5137