summaryrefslogtreecommitdiff
path: root/ext/purelib.rb
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-08-02 22:52:25 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-08-02 22:52:25 +0000
commit45992b4b252b015702581589c584a61831346416 (patch)
treefa01a14e2386c8d241e2449989176b84e623e845 /ext/purelib.rb
parentcefa9413d24ce1c253516d0a6901c9aaed11f45f (diff)
* ext/purelib.rb: no longer used since the default load path of
miniruby is empty. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28840 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/purelib.rb')
-rw-r--r--ext/purelib.rb17
1 files changed, 0 insertions, 17 deletions
diff --git a/ext/purelib.rb b/ext/purelib.rb
deleted file mode 100644
index cc1a00bdb2..0000000000
--- a/ext/purelib.rb
+++ /dev/null
@@ -1,17 +0,0 @@
-nul = nil
-$:.each_with_index {|path, index|
- if /\A(?:\.\/)*-\z/ =~ path
- nul = index
- break
- end
-}
-if nul
- 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
- index = $".index(File.join(path, 'rubygems.rb'))
- $"[index] = Gem::QuickLoader.path_to_full_rubygems_library if index
- end
- end
-end