diff options
Diffstat (limited to 'scripts/TestUtil.py')
-rwxr-xr-x | scripts/TestUtil.py | 9 |
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) |