From: Gavin Sinclair Date: 2005-10-17T22:46:57+09:00 Subject: Re: rio.. Gavin Sinclair wrote: > > > Try it - and prove me wrong :-) > > My Ruby is installed in drive E: > > My IRB experience listed drive C: as it was asked. > > [...] I'd say you're having trouble understanding how it works. > > Apologies in advance if I'm wrong!!! :) Forget the "in advance"; I just tried it more properly and you're right!! Sorry about that! irb(main):015:0> rio('C:/').files[].size => 15 irb(main):016:0> rio('D:/').files[].size => 15 irb(main):017:0> rio('E:/').files[].size => 15 irb(main):018:0> rio('F:/').files[].size => 15 I know for sure that these drives don't all have 15 files/directories in their roots! I'll shut up about Rio right about now... However, my Ruby IS installed on drive E, whereas it was definitely listing drive C. Trying it again just now with a fresh IRB runtime: an attempt to list drive F listed drive C. I think C is just the default drive, not the "where Ruby's installed" drive. Cheers, Gavin