This is a guide for the recommended method of installing Ruby.
Learn more about Ruby.
RHEL 6.4 currenly only supports ruby 1.8.7 in the repositories which has been completely dropped. Therefore it's recommended to manage ruby outside of the yum package management and build completely from source.
Install libyaml from source