我需要安装需要 qt 库的 capybara-webkit,所以我使用 homebrew 使用以下命令安装它们
brew update
brew install qt
brew linkapps
然后我捆绑了 capybara-webkit,一切都很好。但是,我的警卫发出以下警告。
You appear to have an outdated version of libyaml (0.1.4) installed on your system.
Prior to 0.1.6, libyaml is vulnerable to a heap overflow exploit from malicious YAML payloads.
The easiest thing to do right now is probably to update Psych to the latest version and enable
the 'bundled-libyaml' option, which will install a vendored libyaml with the vulnerability patched:
gem install psych -- --enable-bundled-libyaml
看起来很简单。但是,即使在使用“捆绑 libyaml”选项成功安装 psych 之后,我仍然会看到有关过时 libyaml 的警告。此外,当我检查与 psyche 相关的 libyaml 版本(ruby -rpsych -e 'p Psych.libyaml_version')时,它仍然是 1.4。
有任何想法吗?