Commit b4395451 authored by Julian Kornberger's avatar Julian Kornberger

Works with the latest version of RVM

parent b9c7691f
......@@ -11,9 +11,10 @@ mkdir -p $GIT_WORK_TREE
GIT_WORK_TREE=$basedir/tmp/cache git checkout -f --quiet $ref
# This loads RVM into a shell session.
for file in /usr/local/lib/rvm $HOME/.rvm/scripts/rvm; do
for file in $HOME/.rvm/scripts/rvm /etc/profile.d/rvm.sh; do
if [[ -s "$file" ]]; then
source $file;
source $file
break
fi
done
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment