Paul Brannan wrote:
> On another note, is there any way to require a file out of the current
> directory?  Currently, I am using:
> 
> def requirelocal(file, *args)
>   caller_file, *foo = caller[0].split(':')
>   caller_dir = File.dirname(caller_file)
>   require File.join(caller_dir, file)
> end

Put the current directory before any other

  $LOAD_PATH.unshift "."

  require "file"




Regards,

   Michael

-- 
Michael Neumann
merlin.zwo InfoDesign GmbH
http://www.merlin-zwo.de