Joel VanderWerf <vjoel / PATH.Berkeley.EDU> writes: > > First, check where ftools for 1.7 is installed. > > > > matz. > > It's where it should be: > > /usr/local/lib/ruby/1.6/ftools.rb > /usr/local/lib/ruby/1.7/ftools.rb > > If my $RUBYLIB is not the empty string, there is no problem. > > $ export RUBYLIB="." > $ ruby -r ftools -e 'p $:' > [".", "/usr/local/lib/ruby/site_ruby/1.7", > "/usr/local/lib/ruby/site_ruby/1.7/i686-linux", > "/usr/local/lib/ruby/site_ruby", "/usr/local/lib/ruby/1.7", > "/usr/local/lib/ruby/1.7/i686-linux", "."] > > This is not a problem for me, since I can just 'unset RUBYLIB', but it's > a bit surprising. Here is a patch for Ruby 1.7: Index: file.c =================================================================== RCS file: /src/ruby/file.c,v retrieving revision 1.114 diff -u -1 -p -r1.114 file.c --- file.c 29 Oct 2002 21:35:27 -0000 1.114 +++ file.c 21 Nov 2002 08:19:16 -0000 @@ -2478,3 +2478,3 @@ rb_find_file_ext(filep, ext) SafeStringValue(str); - if (RSTRING(str)->len == 0) return 0; + if (RSTRING(str)->len == 0) continue; path = RSTRING(str)->ptr; -- eban