From: John Pywtorak Date: 2007-12-15T08:16:14+09:00 Subject: Re: doing require on some relateive path Hi Jukone, The idiom I have seen used and use myself is... withing File1.rb require File.dirname(__FILE__) + '/../../Dir1/File1.rb' Hope that helps. Johnny P Junkone wrote: > hello > I have the following 2 files > > Someopath/Dir1/File1.rb > Someopath/Dir2/File2.rb > > How can i do a require 'relativepath/Dir2/File2.rb' from File1.rb > > appreciate any help. > >