Fix Cannot add PPA bug.(Sometimes happen in ubuntu 14.04.)
This commit is contained in:
parent
600e9ed153
commit
8e5f560467
|
@ -91,6 +91,7 @@ fi
|
||||||
## install rvm
|
## install rvm
|
||||||
if [ -z $(which rvm) ]; then
|
if [ -z $(which rvm) ]; then
|
||||||
sudo apt-get install software-properties-common -y
|
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-add-repository -y ppa:rael-gc/rvm
|
||||||
sudo apt-get update
|
sudo apt-get update
|
||||||
sudo apt-get install rvm -y
|
sudo apt-get install rvm -y
|
||||||
|
|
Loading…
Reference in New Issue