Fix ruby syntax for head version