Re: FileTest.size > 2GB?

having problems with FileTest.size and files > 2GB. Seems it
doesn’t return a Bignum for them, but a (wrapped) Fixnum. For
a 3GB File, thats a “size” of -1GB. Is there something I can
do about it? Is there an alternative?

Yes, use win32-file, available on the RAA.

Regards,

Dan

Nobu wrote:

mswin32 version doesn’t have large file support yet.

Daniel B. wrote:

Yes, use win32-file, available on the RAA.

Daniel, you are the hero of Ruby users on Windows.

Dave.