ubuntu 22 yaml.h not found, when running bundle of a ruby on rails application. Read this article in: InglésEspañolPortuguêsRussian Issue 2024Q1 (current) This has worked for me to solve the aforementioned problem: apt install libyaml-dev