bstinson / centos / t_functional

Forked from centos/t_functional 4 years ago
Clone

Blame tests/p_ruby/0-install-ruby.sh

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