I have a production environment configured that deploys and works as it should. Although I have encountered an ancillary problem that I can't figure out.
I am running the Whenever gem to execute a couple of cron jobs, the Whenever gem capistrano implementation has them deploying correctly and the scripts are executing. Although inside whenever.log I receive the following output:
/bin/bash: bin/rails: Permission denied
The script is using a runner to update from a RSS feed, this has worked without incident on a previous production deployment, although I deployed to the new server using Capistrano.
I searched around and found this question, although each time I deploy, I have to make bin/rails executable (due to datestamp deployment from Capistrano). Is there a way to make Capistrano make the file executable for me at deploy? Or is there some inherent security risk with making bin/rails executable?