diff options
author | mame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-02-06 10:36:32 +0000 |
---|---|---|
committer | mame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-02-06 10:36:32 +0000 |
commit | cd2a49f3c7e585b871cbac949be36d4bee7c0e31 (patch) | |
tree | 779f3013bacf5324c5a6937288d5906fe6faabe9 /tool/compile_prelude.rb | |
parent | a6569ad637e46eeb93bd28fe1ffe3c173dc43903 (diff) | |
download | ruby-cd2a49f3c7e585b871cbac949be36d4bee7c0e31.tar.gz |
* tool/compile_prelude.rb: fix require path.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26593 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'tool/compile_prelude.rb')
-rwxr-xr-x | tool/compile_prelude.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tool/compile_prelude.rb b/tool/compile_prelude.rb index 17b00f955a..7476e3910f 100755 --- a/tool/compile_prelude.rb +++ b/tool/compile_prelude.rb @@ -38,7 +38,7 @@ lines_list = preludes.map {|filename| line.gsub!(/RbConfig::CONFIG\["(\w+)"\]/) { key = $1 unless mkconf - require 'rbconfig' + require './rbconfig' mkconf = RbConfig::MAKEFILE_CONFIG.merge('prefix'=>'#{TMP_RUBY_PREFIX}') setup_ruby_prefix = "TMP_RUBY_PREFIX = $:.reverse.find{|e|e!=\".\"}.sub(%r{(.*)/lib/.*}m, \"\\\\1\")\n" teardown_ruby_prefix = 'Object.class_eval { remove_const "TMP_RUBY_PREFIX" }' |