I tried with that...
But i am getting error - (CRON) info (No MTA installed, discarding output)
any pointers ?
This is because the normal behavior for cron is to send the combined STDOUT and STDERR to the owner of the crontab as an e-mail message. You don't have anything that can accept and deliver e-mail on your server (or whatever is running cron) as it cannot find the MTA (Mail Transfer Agent) and so is telling you it's just dropping the output of the command in the bit bucket. This has absolutely nothing to do with the whenever gem, ruby, rails or anything else. This is a base OS-level issue. If you want the output of the cron command, you have a couple of choices:
1) Append it to a log file the cron job has write access to.
2) Install a mail transfer agent.
#1 is by far the easier of the two. If cron is running as root, Just append '>> /var/log/cron.log 2>&1' (without quotes) to each crontab command. If cron is running as a regular user, append '>> $HOME/.cron.log 2>&1'.