Hi,

In message "Re: [ruby-core:19643] Re: GC thought"
    on Fri, 31 Oct 2008 05:35:31 +0900, Kurt Stephens <kurt / cashnetusa.com> writes:

|File.open() should probably force a GC after open(...) and errno ==
|ENFILE and retry.  That would give an opportunity for the finalizers to
|return unused file descriptor(s) back to the OS.

CRuby already does.

							matz.