diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-05-22 20:48:34 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-05-22 20:48:34 +0000 |
commit | 80a0e2f7531dcb8260059209a6a0bab9ab3a08cc (patch) | |
tree | b7d51903ae06d9373968445ddca12c03d088ceef /ext/purelib.rb | |
parent | 64bffee8d630d2a18244cfa641bdbf3bc3958b7c (diff) |
* ext/extmk.rb, ext/purelib.rb, lib/mkmf.rb, runruby.rb: clear default
load path to get rid of load pre-installed extensions/libraries.
[ruby-core:11017]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12333 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/purelib.rb')
-rw-r--r-- | ext/purelib.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/ext/purelib.rb b/ext/purelib.rb new file mode 100644 index 0000000000..f826c5782e --- /dev/null +++ b/ext/purelib.rb @@ -0,0 +1,6 @@ +if nul = $:.index("-") + $:[nul..-1] = ["."] +end +if nul = $:.index("-") + $:[nul..-1] = ["."] +end |