summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkeiju <keiju@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-08-30 07:22:06 +0000
committerkeiju <keiju@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-08-30 07:22:06 +0000
commitd14de3ecc797f94640aa72ce9a0d33fe11b65cf4 (patch)
treefc6d095fe7e860cfaf93934427830b7a2fea48fd
parentda7d6381c9b15993821fdc9f1019c9b4455353a4 (diff)
* lib/irb/init.rb: bug fix. [ruby-dev: 26920]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9047 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog3
-rw-r--r--lib/irb/init.rb2
2 files changed, 4 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index a4cebcfbf8..3a2b9ad61b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,6 @@
+Tue Aug 30 16:19:40 005 Keiju Ishitsuka <keiju@ruby-lang.org>
+ * lib/irb/init.rb: bug fix. [ruby-dev: 26920]
+
Tue Aug 30 12:45:15 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
* eval.c (rb_f_send): do not call private methods if the receiver
diff --git a/lib/irb/init.rb b/lib/irb/init.rb
index c53d5adf31..842eb1221e 100644
--- a/lib/irb/init.rb
+++ b/lib/irb/init.rb
@@ -193,7 +193,7 @@ module IRB
end
end
if RUBY_VERSION >= FEATURE_IOPT_CHANGE_VERSION
- load_path.collect do |path|
+ load_path.collect! do |path|
/\A\.\// =~ path ? path : File.expand_path(path)
end
end