From: Aredridel Date: 2005-03-19T03:51:04+09:00 Subject: Re: Crobjob problem with ruby script. > 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. > (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.