From 218029f06d0a43befac4a899dbeb302f901142ed Mon Sep 17 00:00:00 2001 From: nobu Date: Thu, 15 Jan 2015 09:09:14 +0000 Subject: [PATCH] make-snapshot: add fake values * tool/make-snapshot (package): add fake values, rubylibprefix and ruby_version which are necessary for Gem.default_dir. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49258 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- tool/make-snapshot | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tool/make-snapshot b/tool/make-snapshot index 717ae19225..7ae5d35c8f 100755 --- a/tool/make-snapshot +++ b/tool/make-snapshot @@ -277,6 +277,8 @@ def package(vcs, rev, destdir, tmp = nil) f.puts "s,@RM@,|#_!!_#|rm -f,g" f.puts "s,@CP@,|#_!!_#|cp,g" f.puts "s,@rubyarchdir@,|#_!!_#|,g" + f.puts "s,@rubylibprefix@,|#_!!_#|,g" + f.puts "s,@ruby_version@,|#_!!_#|,g" } FileUtils.mkpath(hdrdir = "#{extout}/include/ruby") File.open("#{hdrdir}/config.h", "w") {}