From: Michael Orlitzky <michael@orlitzky.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Postgres gem not found by cron job
Date: Wed, 11 Aug 2010 15:32:53 -0400 [thread overview]
Message-ID: <4C62FAE5.9030601@orlitzky.com> (raw)
In-Reply-To: <4C62F6F5.1010702@gmail.com>
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 /root/src/mailshears/bin/mailshears
>
> to at least help debug it.
>
Thanks for the tip. The cron environment was missing
"RUBYOPT=-rauto_gem" -- adding it fixed the problem.
Dark magic, whatever it does.
next prev parent reply other threads:[~2010-08-11 20:05 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-08-11 18:17 [gentoo-user] Postgres gem not found by cron job Michael Orlitzky
2010-08-11 19:16 ` Bill Longman
2010-08-11 19:32 ` Michael Orlitzky [this message]
2010-08-13 18:36 ` [gentoo-user] " Hans de Graaff
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4C62FAE5.9030601@orlitzky.com \
--to=michael@orlitzky.com \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox