From b172bcdce5f3a1ddd449ccff9d8a200a22437722 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cyryl=20P=C5=82otnicki-Chudyk?= Date: Fri, 24 Jun 2016 15:50:28 +0200 Subject: [PATCH] try both places where rvm env might reside --- common/configure_fresh_system | 3 +++ 1 file changed, 3 insertions(+) diff --git a/common/configure_fresh_system b/common/configure_fresh_system index 0d6d4e1d..806deff3 100755 --- a/common/configure_fresh_system +++ b/common/configure_fresh_system @@ -98,7 +98,10 @@ cargo install racer # rvm gpg2 --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3 $CURL -L https://get.rvm.io | bash -s stable +set +e +source /etc/profile.d/rvm.sh source $HOME/.rvm/scripts/rvm +set -e rvm install ruby # go