From: Patrick Bennett Date: 2004-03-22T02:43:24+09:00 Subject: Re: Can $LOAD_PATH be relative? Sam Roberts wrote: >Do I recall you saying that you'd hacked ruby to get it's executable >location? I'd like to see that hack, I'm pretty confident I can think up >a number of cases where it wouldn't work. > > I posted it - look back in the thread... I used the /proc/self/exe symbolic link. I only care about Linux and Windows support, so between the two the existing windows code and my readlink hack took care of it. > >