I'm trying to setup a number of recurring processes and based on the
input of others have found my way to cron. I've made a number of
attempts to setup jobs to perform any number of task, always receiving
error messages. I've come across requests by others with the identical
problem, but I've yet to find one that has been responded to.
I'm running OS X 10.4 with all the latest Ruby/Rails installs.
If I execute the following line in a Terminal window I get the expected
ruby /Users/stocad/rrprojects/testproject/script/runner -e development
I've put the following line into my crontab:
30 * * * * ruby /Users/stocad/rrprojects/testproject/script/runner -e
development "puts 'Testing'"
After the perscribed time has arrived (30 after any hour) I check my
email (I put a .forward file in my home directory as one of the
tutorials I was following suggested). My email contains the following
`require': No such file to load -- rubygems (LoadError)
There are a good number of resources out there telling me what to do if
I'm missing rubygems altogether, but rubygems seems to be working for
me in all cases except when I attempt to run a ruby script through
Any assistance would be greatly appreciated.