def import(what)
   require File.join(File.dirname(caller[0]), what)
end

and use "import" instead of "require".

-- 
   T          (history repeats?)
(email-address is anti-spammed, remove invalid parts)