diff options
-rw-r--r-- | ChangeLog | 3 | ||||
-rw-r--r-- | lib/irb/init.rb | 2 |
2 files changed, 4 insertions, 1 deletions
@@ -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 |