Hello - I have a rake task that I’d like to schedule a cron to run. My Rails 4 droplet is running Ubuntu 12.10 (Nginx + Unicorn).
Here’s what I have in crontab: SHELL=/bin/bash PATH=/sbin:/bin/usr/bin HOME=/ MAILTO=“firstname.lastname@example.org”
I get this error /etc/profile.d/rvm.sh: line 9: ps: command not found /etc/profile.d/rvm.sh: line 10: ps: command not found /usr/local/rvm/scripts/rvm: line 96: dirname: command not found ERROR: Missing proper ‘which’ command. Make sure it is installed before using RVM!
Any fix would be much appreciated thanks
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.