From: Rob Sanheim Date: 2008-02-12T03:03:36+09:00 Subject: Re: Better relative requires with Need I believe this should be handled by ruby's require in 1.9...so no more double requires based on differing file paths. - Rob http://robsanheim.com http://thinkrelevance.com On Feb 11, 2008 11:25 AM, ara howard wrote: > > On Feb 10, 2008, at 9:34 AM, Drew Olson wrote: > > > Thanks so much for the response. I'm glad people may find it u > > seful. As > > far as joining the file path, what exactly does this buy me? > > > i always expand and join the path because otherwise doing > > require '../a.rb' > > followed by > > require '.././a.rb' > > will cause ruby to load the file twice - the hash is on the *exact* > filename > > cheers. > > > a @ http://drawohara.com/ > -- > sleep is the best meditation. > h.h. the 14th dalai lama > > > > >