From: ara.t.howard@... Date: 2006-08-21T11:14:11+09:00 Subject: Re: syntax errors when job run from cron On Mon, 21 Aug 2006, Russell Fulton wrote: > Well this is weird! I'm used to odd problems when you run programs from > cron but these are almost invariably to do with file permissions or > stuff in the environment variables not matching the command line > environment. > > I'm using ruby 1.8.4 (2005-12-24) [i686-linux] on a RHE 3.0 system. > > The program runs fine from command line but gets nonsensical syntax > errors when run from cron. > > Any idea where to look for the problem? > > Russell probably you have two ruby installations and the wrong one is running your script. -a -- to foster inner awareness, introspection, and reasoning is more efficient than meditation and prayer. - h.h. the 14th dali lama