From: Shad Sterling Date: 2005-03-19T04:35:13+09:00 Subject: Re: Crobjob problem with ruby script. On Sat, 19 Mar 2005 03:51:04 +0900, Aredridel wrote: > > I've had problems with paths in cronjobs even just running shell > > scripts. What I recall mostly is that the current directory was > > something useless, and "~" was not the home directory. I made > > everything work by using all absolute pathes. I don't think that > > would be desirable for a require statement, but I expect it would make > > it work. > > As have I. I am routinely annoyed by the lack of environment > initialization under most cron daemons. > Most cron daemons? Is there one that doesn't have that problem? - Shad > > (I don't actually know how require finds the files; I'm guessing > > that's what $LOAD_PATH is for?) > > Yeah, or its shorthand $: > > Thankfully that's not in the process environment. > > -- ---------- Please do not send personal (non-list-related) mail to this address. Personal mail should be sent to polyergic@sterfish.com.