Re: EBADF error?


#1

Saltman <saltman@…> writes:

Have you tried rewriting these lines of code without using ruby “shortcuts”?

while str = logfile.readline
next unless str =~ /Average Redundancy Per Shell/
break
end

You’re the man, Saltman! I made your suggested change and it seems to
be
working. Thanks a bunch. I wonder if this is a ruby on windows-only
issue?

-cal