From: Nikolai Lugovoi Date: 2010-03-18T04:47:20+09:00 Subject: [ruby-core:28721] [Bug #2978] TMP_RUBY_PREFIX sets incorrect values in gem prelude for ruby installed in $HOME Issue #2978 has been updated by Nikolai Lugovoi. actually, the bug seems to be reintroduced (by merge conflict?) in r26895, while r26885 already had the fix: Date: Fri Mar 12 04:56:34 2010 +0000 * tool/compile_prelude.rb: TMP_RUBY_PREFIX should replace rubylibprefix but not prefix. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@26885 b2dd03c8-39d4-4d8f-98ff-823fe69b080e diff --git a/tool/compile_prelude.rb b/tool/compile_prelude.rb index 93a6dd9..d13670d 100755 --- a/tool/compile_prelude.rb +++ b/tool/compile_prelude.rb @@ -48,7 +48,7 @@ class Prelude key = $1 unless @mkconf require './rbconfig' - @mkconf = RbConfig::MAKEFILE_CONFIG.merge('prefix'=>'#{TMP_RUBY_PREFIX}') + @mkconf = RbConfig::MAKEFILE_CONFIG.merge('rubylibprefix'=>'#{TMP_RUBY_PREFIX}') end if RbConfig::MAKEFILE_CONFIG.has_key? key val = RbConfig.expand("$(#{key})", @mkconf) ---------------------------------------- http://redmine.ruby-lang.org/issues/show/2978 ---------------------------------------- http://redmine.ruby-lang.org