Fixed ruby example