Except this problem, I do not think the solution is misfortune.
I am getting this error message:
Rail requires Rails & gt; = 0.9.4 Please install Ruby Gums
when I run a script / runner job in the cron, but when I run it on a terminal on the same server, then it works perfectly Does.
Rail Server also runs fine. I just have trouble with a script / runner running in the cron. It seems that a terminal is connected ...
Try which is Ruby
and which gem
from your cron job and also from terminal. Are you accessing different binary? The OS and which shell you did not mention, but you may have a different $ PATH
when headless is running.
Comments
Post a Comment