Handling ping tasks with Rake tasks