fix ruby gem path
diff --git a/tools/jenkins/run_distribution.sh b/tools/jenkins/run_distribution.sh
index e5281ad..7c306de 100755
--- a/tools/jenkins/run_distribution.sh
+++ b/tools/jenkins/run_distribution.sh
@@ -93,6 +93,9 @@
       *nodejs*)
         export PATH=$HOME/.nvm/versions/node/v0.12.7/bin:$PATH
         ;;
+      *ruby*)
+        export PATH=/usr/local/rvm/rubies/ruby-2.2.1/bin:$PATH
+        ;;
       *php*)
         export CFLAGS="-Wno-parentheses-equality"
         ;;