javan/whenever — Issue #207: bash path
Author: pcdoc80
Created: 2012-01-05 13:12:02+00:00
State: open

Hello,

I am using rails 3.1.x + whenever on FreeBSD 8.2.

Everything is fine. But whenever -i produces /bin/bash -l -c for the crontab file. On FreeBSD bash resides as /usr/local/bin/bash. Currently, I need to edit the crontab file manually after executing whenever in order to correct the path to the bash executable.

It might be possible to set a link from /bin/bash to /usr/local/bin/bash, but on my system I can't (because of using jails / chroot environment with the system dirs mounted read only).

Is there any way to override the default bash path /bin/bash?

Thanks