Cron by default has a very minimalist environment. If you need something like RUBY_INCLUDE_PATH, you'll need to add it to your crontab. And it is good practice to either specify the PATH you need, or to type in the full path of the executable you are trying to run.
Jason On Jan 14, 2008 8:32 AM, Stanislav Bozhkov < [EMAIL PROTECTED]> wrote: > > Well, if I run the task manually from the command line there're no > errors. I receive that errors my mail. Only when the task has been run > by crond. > > */10 * * * * mongrel /var/apps/myapp/bin/promote_from_queue_rake.sh > > Maybe the problem is somewhere in cron's environment ? > -- > Posted via http://www.ruby-forum.com/. > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Deploying Rails" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/rubyonrails-deployment?hl=en -~----------~----~----~----~------~----~------~--~---
