trying to add ruby template to modify the contents of a file