Ensure the rvm script is sourced
authorPeter Donald <donaldp@apache.org>
Sat, 6 Oct 2012 22:37:50 +0000 (22:37 +0000)
committerPeter Donald <donaldp@apache.org>
Sat, 6 Oct 2012 22:37:50 +0000 (22:37 +0000)
git-svn-id: https://svn.apache.org/repos/asf/buildr/trunk@1395183 13f79535-47bb-0310-9956-ffa450edef68

ci.sh

diff --git a/ci.sh b/ci.sh
index 7ae4032..755f019 100644 (file)
--- a/ci.sh
+++ b/ci.sh
@@ -62,6 +62,7 @@ elif mkdir "$HOME/.rvm_lock"; then
 fi
 
 export BUILDR_GEMSET=${BUILDR_GEMSET-CI_$BUILD_JVM}
+source "$HOME/.rvm/scripts/rvm"
 
 rvm ${BUILDR_RUBY_VERSION} --force gemset delete ${BUILDR_GEMSET} 2>&1 > /dev/null