From: Ryan Leavengood Date: 2006-04-19T22:15:51+09:00 Subject: Re: practices On 4/19/06, Tom Allison wrote: > > If I have a safemode > 0 and files in ~/lib/ how would I use them? > I can't edit the system environment in this case. > Would I convert the ~/ to the fullpath and use require: > > require '/home/username/lib/noclass' > > ? I think a fairly common idiom in cases like this (one I have used myself) is to add to the LOAD_PATH within your script (at the top before your requires): $LOAD_PATH.unshift '~/lib' Then require will check in ~/lib for scripts before checking the other default locations. Ryan