You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
QA/tests/p_ruby/0-install-ruby.sh

14 lines
422 B

#!/bin/sh
# Author: Nikhil Lanjewar <nikhil@lanjewar.com>
# Author: Sahil Muthoo <sahilm@thoughtworks.com>
# Author: Sahil Aggarwal <sahilagg@gmail.com>
# Author: Saager Mhatre <saager.mhatre@gmail.com>
t_Log "Running $0 - attempting to install ruby, ruby-irb, ruby-ri and ruby-rdoc4"
if [ "$centos_ver" -ge 8 ] ; then
t_InstallPackage ruby ruby-irb rubygem-rdoc
else
t_InstallPackage ruby ruby-irb ruby-ri ruby-rdoc
fi