ruby task to parse an xml file