build libyaml for redhat 6
remove command from xargs
use ruby-version when configuring custom build yaml flags
merge #3175: fix installing MRI on RHEL 6