try both places where rvm env might reside

This commit is contained in:
Cyryl Płotnicki-Chudyk 2016-06-24 15:50:28 +02:00
parent 4f3feb80dd
commit b172bcdce5

View file

@ -98,7 +98,10 @@ cargo install racer
# rvm # rvm
gpg2 --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3 gpg2 --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3
$CURL -L https://get.rvm.io | bash -s stable $CURL -L https://get.rvm.io | bash -s stable
set +e
source /etc/profile.d/rvm.sh
source $HOME/.rvm/scripts/rvm source $HOME/.rvm/scripts/rvm
set -e
rvm install ruby rvm install ruby
# go # go