1
0
Fork 0
mirror of https://github.com/puma/puma.git synced 2022-11-09 13:48:40 -05:00

travis.yml - use rubygems 2.7.9 for older MRI

This commit is contained in:
MSP-Greg 2019-03-09 09:15:45 -06:00
parent 490cfcce22
commit 1c26d5808b

View file

@ -8,7 +8,7 @@ before_install:
r_eng="$(ruby -e 'STDOUT.write RUBY_ENGINE')";
rv="$(ruby -e 'STDOUT.write RUBY_VERSION')";
if [ "$r_eng" == "ruby" ]; then
if [ "$rv" \< "2.3" ]; then gem update --system 2.7.8 --no-document
if [ "$rv" \< "2.3" ]; then gem update --system 2.7.9 --no-document
elif [ "$rv" \< "2.6" ]; then gem update --system --no-document --conservative
fi
fi