Fix Cannot add PPA bug.(Sometimes happen in ubuntu 14.04.)

This commit is contained in:
BoHung Chiu 2022-02-15 12:59:49 +08:00
parent 600e9ed153
commit 8e5f560467
1 changed files with 1 additions and 0 deletions

View File

@ -91,6 +91,7 @@ fi
## install rvm
if [ -z $(which rvm) ]; then
sudo apt-get install software-properties-common -y
sudo apt-get install --reinstall ca-certificates -y
sudo apt-add-repository -y ppa:rael-gc/rvm
sudo apt-get update
sudo apt-get install rvm -y