I am trying to use whenever to execute a rake task onces a day. Im getting this error
/bin/bash: bundle: command not found /home/app/.rvm/rubies/ruby-1.9.2-p
You can also ensure your PATH ends up in the crontab, by putting the following at the top of the schedule.rb file:
env :PATH, ENV['PATH']
https://groups.google.com/forum/#!msg/whenever-gem/yRLt3f2jrfU/Exu3xfCo8DAJ
If above solution don't work for you, try:
env :GEM_PATH, ENV['GEM_PATH']