summaryrefslogtreecommitdiff
path: root/tool/make-snapshot
diff options
context:
space:
mode:
Diffstat (limited to 'tool/make-snapshot')
-rwxr-xr-xtool/make-snapshot5
1 files changed, 5 insertions, 0 deletions
diff --git a/tool/make-snapshot b/tool/make-snapshot
index 2368412260..cc4bc711f9 100755
--- a/tool/make-snapshot
+++ b/tool/make-snapshot
@@ -69,6 +69,11 @@ path = ENV["PATH"].split(File::PATH_SEPARATOR)
end
end
+`#{ENV["BASERUBY"]} --disable-gem -e1 2>&1`
+if $?.success?
+ ENV["BASERUBY"] += ' --disable-gems'
+end
+
if $help or $_help
puts usage
exit