compile yaml to ruby directory