From: Michael Fellinger Date: 2009-07-25T02:50:09+09:00 Subject: [ruby-core:24556] Re: request: backport unique requires to 1.8.x On Sat, Jul 25, 2009 at 2:34 AM, Luis Lavena wrote: > On Fri, Jul 24, 2009 at 10:56 AM, Kirk Haines wrote: >> On Fri, Jul 24, 2009 at 5:50 AM, Yehuda Katz wrote: >>> I'd like to see all require features backported (including require_relative) >>> and the new behavior that eliminates the possibility of the same paths >>> described differently being treated differently. >> >> For the record, I'm open to this. ��It seems to be a very beneficial >> set of functionality to backport. >> > > Me too, I would love to get over the workaround of requiring Pathname > (which do not work right now Windows) to do requires with full > pathnames and avoid double requires. > > +1 for me. A workaround is: require File.expand_path('../relative/path/to/target', __FILE__) > > -- > Luis Lavena > AREA 17 > - > Perfection in design is achieved not when there is nothing more to add, > but rather when there is nothing more to take away. > Antoine de Saint-Exup��ry > > -- ^ manveru