From: Benoit Daloze Date: 2010-08-24T04:35:17+09:00 Subject: Re: YAML::dump slow On 23 August 2010 20:45, Piotr Szotkowski wrote: > Benoit Daloze: > >> rvm install ruby-1.9.2-head -C --with-libyaml-dir=/opt/local > > Unfortunately, both rvm-wrapped and vanilla Ruby 1.9.2-p0’s configure > report ‘configure: WARNING: unrecognized options: --with-libyaml-dir’. > > In Ubuntu yaml.h lives in /usr/include; I ended up symlinking > it from /usr/local/include and I can now require 'psych'. > > — Piotr Szotkowski That is a serious problem, you should probably fill a bug report with it. Ruby should obviously look in /usr for libraries and include.