summaryrefslogtreecommitdiff
path: root/ext/purelib.rb
diff options
context:
space:
mode:
authormame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-02-05 16:21:56 +0000
committermame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-02-05 16:21:56 +0000
commit63cbe555b7c040efd335392f31dd99d45e8134db (patch)
tree7d65449f844010cac90a67943ba93b24ebf5a4b6 /ext/purelib.rb
parenta68c79f7166097daa2a5cd037c04859465c23257 (diff)
* ext/purelib.rb, common.mk: to simulate ruby command more precisely,
remove "." from $: of virtual environment for build and test. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26587 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/purelib.rb')
-rw-r--r--ext/purelib.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/purelib.rb b/ext/purelib.rb
index 6418fd618d..cc1a00bdb2 100644
--- a/ext/purelib.rb
+++ b/ext/purelib.rb
@@ -6,7 +6,7 @@ $:.each_with_index {|path, index|
end
}
if nul
- removed, $:[nul..-1] = $:[nul..-1], ["."]
+ removed, $:[nul..-1] = $:[nul..-1], []
if defined?(Gem::QuickLoader)
removed.each do |path|
# replaces a fake rubygems by gem_prelude.rb with an alternative path