[ruby] How to create an exit message