12 lines
301 B
Bash
Executable File
12 lines
301 B
Bash
Executable File
#!/bin/bash
|
|
if ! command -v rvm &> /dev/null
|
|
then
|
|
gpg2 --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3 7D2BAF1CF37B13E2069D6956105BD0E739499BDB
|
|
\curl -sSL https://get.rvm.io | bash -s stable
|
|
source ~/.rvm/scripts/rvm
|
|
fi
|
|
|
|
# Install Ruby 2.7.2
|
|
rvm install 2.7.2
|
|
rvm use 2.7.2 --default
|