Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions script/install-rvm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,11 @@ mkdir "${CURL_HOME}/" &&
exit $?

# run the installer
echo $rvm_path
if \curl -L https://get.rvm.io -o rvm-installer.sh && bash rvm-installer.sh stable --path $rvm_path
options=""
if [ ! -z "$rvm_path" ]; then
options="--path '$rvm_path'"
fi
if \curl -L https://get.rvm.io -o rvm-installer.sh && bash rvm-installer.sh stable $options
then __LAST_STATUS=0
else __LAST_STATUS=$?
fi
Expand Down