From 2cbc545f163281c4a784ebadbcfa5c395597a2a2 Mon Sep 17 00:00:00 2001
From: "Nicolas \"Pixel\" Noble" <pixel@nobis-crew.org>
Date: Sat, 6 Feb 2016 07:47:32 +0100
Subject: [PATCH] Load RVM on Linux too...

---
 tools/run_tests/build_artifact_ruby.sh | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tools/run_tests/build_artifact_ruby.sh b/tools/run_tests/build_artifact_ruby.sh
index 727899db5e..2d97b4068b 100755
--- a/tools/run_tests/build_artifact_ruby.sh
+++ b/tools/run_tests/build_artifact_ruby.sh
@@ -34,6 +34,7 @@ SYSTEM=`uname | cut -f 1 -d_`
 cd $(dirname $0)/../..
 set +ex
 [[ -s /etc/profile.d/rvm.sh ]] && . /etc/profile.d/rvm.sh
+[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm"
 set -ex
 
 if [ "$SYSTEM" == "MSYS" ] ; then
-- 
GitLab