summaryrefslogtreecommitdiff
path: root/ext/purelib.rb
diff options
context:
space:
mode:
authorshyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-05-22 21:37:36 +0000
committershyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-05-22 21:37:36 +0000
commit46fa180ea0bc6fd8b6e5b3b5566a966519f63759 (patch)
tree15b757670a01b2fb99e83eed11ba30e5aaf9e45d /ext/purelib.rb
parentd53a933fdfbc4974af43ef6812520324891c70af (diff)
merge -r 12332:12336
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@12339 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/purelib.rb')
-rw-r--r--ext/purelib.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/ext/purelib.rb b/ext/purelib.rb
new file mode 100644
index 0000000000..10ee06176c
--- /dev/null
+++ b/ext/purelib.rb
@@ -0,0 +1,3 @@
+if nul = $:.index("-")
+ $:[nul..-1] = ["."]
+end