Was running cron job in wrong rails environment