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
I think you should try explicitly setting the GEM_HOME and GEM_PATH environment variables in your crontab. You could also try running something like gem list --local or gem environment through cron and checking the output.
gem list --local
gem environment