layout | toc_group | link_title | permalink |
---|---|---|---|
docs-experimental |
ruby |
Installing LibYAML |
/reference-manual/ruby/InstallingLibYAML/ |
TruffleRuby requires to have libyaml
installed, much like CRuby 3.2+ and Psych 5+.
If you experience psych
-related errors saying it cannot find libyaml
, it might help to recompile the psych
gem by running lib/truffle/post_install_hook.sh
.
This is done automatically by Ruby managers.
sudo dnf install libyaml-devel
sudo yum install --enablerepo=ol7_optional_latest libyaml-devel
sudo dnf install --enablerepo=ol8_codeready_builder libyaml-devel
sudo apt-get install libyaml-dev
We recommend installing libssl via Homebrew.
brew install libyaml
MacPorts should also work but is not actively tested.
sudo port install libyaml