diff options
Diffstat (limited to 'trunk/ext/purelib.rb')
-rw-r--r-- | trunk/ext/purelib.rb | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/trunk/ext/purelib.rb b/trunk/ext/purelib.rb new file mode 100644 index 0000000000..dbe514c34a --- /dev/null +++ b/trunk/ext/purelib.rb @@ -0,0 +1,10 @@ +nul = nil +$:.each_with_index {|path, index| + if /\A(?:\.\/)*-\z/ =~ path + nul = index + break + end +} +if nul + $:[nul..-1] = ["."] +end |