I have a shell script that is running under crontab that kicks back the error: "Ruby: Command not found" for the invocation of a Ruby script. I have no issue running this script when I invoke it through a terminal it is only when running under crontab that I have issues. Anyone have any thoughts?
EDIT: Using RVM, running RHEL.
printenvto some file for both cases, while executing from crontab and directly executing it. My guess is crontab'senvwould not have the path to the actual Ruby executable.