Minimal ruby script to check a yaml file for errors