From cfa98ab2eb845e22f8fdc34ef32d0cc67e6a586e Mon Sep 17 00:00:00 2001 From: nobu Date: Wed, 25 Mar 2015 07:07:23 +0000 Subject: make-snapshot: RUBY_VERSION * tool/make-snapshot (package): override RUBY_VERSION to proceed with different version ruby. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50086 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- tool/make-snapshot | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tool') 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..." -- cgit v1.2.3