e$B6bK$H$b$&$7$^$9!#e(B
e$B$*$;$o$K$J$j$^$9!#e(B
e$B$9$G$K$5$$E$-$+$b$7$l$^$;$s$,!"e(B1.9e$B$Ne(Birbe$B$G$$3$i$l$^$7$?!#e(B
/home/ykane/r19/lib/ruby/1.9/irb/locale.rb:156:in search_file': undefined method
exists?’ for File:Class (NoMethodError)
e$B$3$s$J46$8$G$7$g$&$+!#e(B
Index: lib/irb/locale.rb
RCS file: /src/ruby/lib/irb/locale.rb,v
retrieving revision 1.9
diff -U2 -r1.9 locale.rb
— lib/irb/locale.rb 26 Aug 2005 05:36:23 -0000 1.9
+++ lib/irb/locale.rb 8 Dec 2006 19:37:24 -0000
@@ -154,6 +154,6 @@
def search_file(path, file)
-
if File.exists?(p1 = path + lc_path(file, "C"))
-
if File.exists?(p2 = path + lc_path(file))
-
if File.exist?(p1 = path + lc_path(file, "C"))
-
if File.exist?(p2 = path + lc_path(file)) return p2 else
e$B$3$l$G!“e(B
% find . -name *.rb -exec fgrep -li File.exists? ‘{}’ ;
e$B$K$R$C$+$+$k$N$O$H$j$”$($:$"$j$^$;$s$G$7$?!#e(B
e$B$h$m$7$/$*4j$$$$$?$7$^$9!#e(B