pmd/.ci/docker_ubuntu18.04/install-ruby.sh
2020-11-12 16:13:02 +01:00

9 lines
270 B
Bash
Executable File

#!/usr/bin/env bash
gpg --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3 7D2BAF1CF37B13E2069D6956105BD0E739499BDB
curl -sSL https://get.rvm.io | bash -s stable
source ~/.rvm/scripts/rvm
rvm install 2.7
rvm use 2.7 --default
ruby -v