thanks, tobias,
that's exactly what i was looking for.
aliasing require would even be cooler:

alias _require require

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

- regards
Henon

----------
Von: Tobias Peters [mailto:tpeters / invalid.uni-oldenburg.de]

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)