From bd79a2eb2d62c9c79a27fa87470aecee17bca6ec Mon Sep 17 00:00:00 2001 From: nobu Date: Mon, 17 Dec 2007 12:41:27 +0000 Subject: * win32/enc-setup.mak: extracts BUILTIN_ENCOBJS. * tool/compile_prelude.rb: needs srcdir. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14272 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- tool/compile_prelude.rb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tool') diff --git a/tool/compile_prelude.rb b/tool/compile_prelude.rb index 6a8d9e1695..4a2c2ea831 100644 --- a/tool/compile_prelude.rb +++ b/tool/compile_prelude.rb @@ -4,6 +4,8 @@ # Since $(BASERUBY) may be older than Ruby 1.9, # Ruby 1.9 feature should not be used. +$:.unshift(File.expand_path("../..", __FILE__)) + preludes = ARGV.dup outfile = preludes.pop -- cgit v1.2.3