i installed ruby by homebrew,how can i upgrade my libyaml version。 i flowed this reference
this is my osx operation:
➜ ~ ruby -rpsych -e 'p Psych.libyaml_version'
[0, 1, 4]
➜ ~ ls /usr/local/Cellar/libyaml/0.1.6
INSTALL_RECEIPT.json README lib
LICENSE include
➜ ~ ./configure --with-yaml-dir=/usr/local/Cellar/libyaml/0.1.6
zsh: no such file or directory: ./configure
I doubt you really wanted to recompile ruby, didn’t you? I would not recommend you to go with recompilation until you have a strong understanding on what
configure
script is at least.Please re-read the reference accurately and follow the appropriate recommendation: