aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Jan Tattermusch <jtattermusch@users.noreply.github.com>2015-07-16 15:25:04 -0700
committerGravatar Jan Tattermusch <jtattermusch@users.noreply.github.com>2015-07-16 15:25:04 -0700
commite85483b39248b42512571ab7eb92c5fdff6304c3 (patch)
tree0bf4a925a75775211ac411f6313337fd2eb04476
parent2884b6a06f045a5b870c572b4505ac42a903e98e (diff)
parent7df7208786ae461e2367a4124c37f5be24711c91 (diff)
Merge pull request #2389 from nicolasnoble/let-s-run-ruby-on-macos
Setting up ruby environment for macos.
-rwxr-xr-xtools/jenkins/run_jenkins.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/jenkins/run_jenkins.sh b/tools/jenkins/run_jenkins.sh
index dcd0424aec..8cb85cb12b 100755
--- a/tools/jenkins/run_jenkins.sh
+++ b/tools/jenkins/run_jenkins.sh
@@ -31,6 +31,8 @@
# This script is invoked by Jenkins and triggers a test run based on
# env variable settings.
#
+# Setting up rvm environment BEFORE we set -ex.
+[[ -s /etc/profile.d/rvm.sh ]] && . /etc/profile.d/rvm.sh
# To prevent cygwin bash complaining about empty lines ending with \r
# we set the igncr option. The option doesn't exist on Linux, so we fallback
# to just 'set -ex' there.