[gentoo-user] Postgres gem not found by cron job

2010-08-11 Thread Michael Orlitzky
I feel like I should be able to solve this one, but it started after my last world update so maybe someone else has had a similar problem. We have a ruby script called 'mailshears' on our mail server that cleans up orphaned users and domains every night. The main script,

Re: [gentoo-user] Postgres gem not found by cron job

2010-08-11 Thread Bill Longman
snip What's different between my root environment and the one in which cron runs (with respect to ruby and its gems)? Where should I start looking? No direct answer, sorry, Michael. You might want to use: /bin/bash -l -x -c /root/src/mailshears/bin/mailshears to at least help debug it.

Re: [gentoo-user] Postgres gem not found by cron job

2010-08-11 Thread Michael Orlitzky
On 08/11/2010 03:16 PM, Bill Longman wrote: snip What's different between my root environment and the one in which cron runs (with respect to ruby and its gems)? Where should I start looking? No direct answer, sorry, Michael. You might want to use: /bin/bash -l -x -c