Ruby notification function for cross platfoms
