From: matz@... (Yukihiro Matsumoto) Date: 2002-11-21T17:44:34+09:00 Subject: Re: RUBYLIB="" causes load problems in 1.7.3 Hi, In message "Re: RUBYLIB="" causes load problems in 1.7.3" |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. It was a bug. --- file.c 29 Oct 2002 21:35:27 -0000 1.114 +++ file.c 21 Nov 2002 08:41:51 -0000 @@ -2478,3 +2479,3 @@ SafeStringValue(str); - if (RSTRING(str)->len == 0) return 0; + if (RSTRING(str)->len == 0) continue; path = RSTRING(str)->ptr;