I am using the "whenever" Ruby gem and RVM to control my rubies/gemsets. When I try using whenever, I see the following error.
/bin/bash: not found
I am using the "whenever" Ruby gem and RVM to control my rubies/gemsets. When I try using whenever, I see the following error.
/bin/bash: not found
It Appears the whenever gem has /bin/bash hardcoded
set :job_template, "/bin/bash -l -c ':job'"
Not all OS put bash in the same place.
It would appear that you are using an operating system where bash is not in /bin (probably in /usr/bin or /usr/local/bin)
You will need to update the job_template to match the location of bash or you could do
set :job_template, "bash -l -c ':job'"
To let the shell locate the correct version of bash for you.