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.