I've a cron job that is supposed to execute a ruby script but it is failing with:
/bin/sh: 1: jruby: not found
I know I can set manually jruby location but I want cron to pick automatically as this will be deployed in different machines which have different paths of jruby locations.
Any ideas how to achieve this?