Nice error on yaml issues, also some Ruby 1.8 fixes