sample application for ruby