summaryrefslogtreecommitdiff
path: root/scripts/TestUtil.py
diff options
context:
space:
mode:
authorJose <jose@zeroc.com>2015-06-02 00:01:19 +0200
committerJose <jose@zeroc.com>2015-06-02 00:01:19 +0200
commit8dab6a4b74035684e4d54731b4b1d6ea0fc4d446 (patch)
tree746075bb09a72a30215af07966c803173cc9b4c8 /scripts/TestUtil.py
parentFix spelling of JavaScript (diff)
downloadice-8dab6a4b74035684e4d54731b4b1d6ea0fc4d446.tar.bz2
ice-8dab6a4b74035684e4d54731b4b1d6ea0fc4d446.tar.xz
ice-8dab6a4b74035684e4d54731b4b1d6ea0fc4d446.zip
enable rubygems when running with a binary distribution
Diffstat (limited to 'scripts/TestUtil.py')
-rwxr-xr-xscripts/TestUtil.py9
1 files changed, 8 insertions, 1 deletions
diff --git a/scripts/TestUtil.py b/scripts/TestUtil.py
index 26499530f4d..6a18f53397d 100755
--- a/scripts/TestUtil.py
+++ b/scripts/TestUtil.py
@@ -1103,7 +1103,14 @@ def getCommandLine(exe, config, options = "", interpreterOptions = ""):
if config.mono and config.lang == "csharp":
output.write("mono --debug '%s.exe' " % exe)
elif config.lang == "ruby" and config.type == "client":
- output.write("ruby")
+ #
+ # If running with a binary distribution ensure rubygems
+ # are enabled
+ #
+ if iceHome:
+ output.write("ruby -rubygems")
+ else:
+ output.write("ruby")
if interpreterOptions:
output.write(" " + interpreterOptions)
output.write(' "%s" ' % exe)