Install postgresql-libs and also recompile your Ruby after install libyaml.
You will need to install libyaml-devel from the epel repositories (which you will also need to add).
Install postgresql-libs and also recompile your Ruby after install libyaml.
You will need to install libyaml-devel from the epel repositories (which you will also need to add).