prepare: Handle CentOS and Fedora separately

ruby19-devel vs ruby-devel.