You can simply replace this command with brew install --universal libyaml and you should be able to continue, but I think you will run into more issues shortly after. You can continue down this path with Fuerte, or backup to Electric, up to you.