On Wed, 11 Aug 2010 15:32:53 -0400, Michael Orlitzky wrote:

> Thanks for the tip. The cron environment was missing
> "RUBYOPT=-rauto_gem" -- adding it fixed the problem.
> 
> Dark magic, whatever it does.

It ensures that installed gems are found automatically without
specifying this explicitly in your script. The other solution
is to "require 'rubygems'" first in your script.

Kind regards,

Hans


Reply via email to