Use previously detected curl to download RVM

This commit is contained in:
Cyryl Płotnicki 2016-11-03 21:18:13 +01:00
parent bfc723b238
commit be6a6c5c6e

View file

@ -124,7 +124,7 @@ if [[ -z $NORUBY ]]; then
set -e set -e
$GPG --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3 $GPG --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3
echo "Downloading RVM..." echo "Downloading RVM..."
curl -sSL https://get.rvm.io | bash $CURL https://get.rvm.io | bash
set +e set +e
echo "Sourcing RVM..." echo "Sourcing RVM..."
source /usr/local/rvm/scripts/rvm source /usr/local/rvm/scripts/rvm