Gentoo Archives: gentoo-user

From: Michael Orlitzky <michael@××××××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Postgres gem not found by cron job
Date: Wed, 11 Aug 2010 20:05:41
Message-Id: 4C62FAE5.9030601@orlitzky.com
In Reply to: Re: [gentoo-user] Postgres gem not found by cron job by Bill Longman
1 On 08/11/2010 03:16 PM, Bill Longman wrote:
2 > <snip>
3 >> What's different between my root environment and the one in which cron
4 >> runs (with respect to ruby and its gems)? Where should I start looking?
5 >
6 > No direct answer, sorry, Michael.
7 >
8 > You might want to use:
9 >
10 > /bin/bash -l -x -c /root/src/mailshears/bin/mailshears
11 >
12 > to at least help debug it.
13 >
14
15 Thanks for the tip. The cron environment was missing
16 "RUBYOPT=-rauto_gem" -- adding it fixed the problem.
17
18 Dark magic, whatever it does.

Replies

Subject Author
[gentoo-user] Re: Postgres gem not found by cron job Hans de Graaff <graaff@g.o>