summaryrefslogtreecommitdiff
path: root/tool/make-snapshot
diff options
context:
space:
mode:
Diffstat (limited to 'tool/make-snapshot')
-rwxr-xr-xtool/make-snapshot2
1 files changed, 2 insertions, 0 deletions
diff --git a/tool/make-snapshot b/tool/make-snapshot
index 15f223ee42..b583efca08 100755
--- a/tool/make-snapshot
+++ b/tool/make-snapshot
@@ -245,6 +245,8 @@ def package(vcs, rev, destdir, tmp = nil)
f.puts "CROSS_COMPILING=true"
f.puts "Object.__send__(:remove_const, :RUBY_PLATFORM)"
f.puts "RUBY_PLATFORM='none'"
+ f.puts "Object.__send__(:remove_const, :RUBY_VERSION)"
+ f.puts "RUBY_VERSION='#{version}'"
end
unless File.exist?("configure")
print "creating configure..."