From: Aaron Patterson Date: 2006-08-23T00:38:00+09:00 Subject: Re: unzipping a gzipped string On Tue, Aug 22, 2006 at 04:30:01PM +0900, Erik Veenstra wrote: > You might have to use binary files. > > File.open(ARGV[0], 'rb') > > Windows differentiates between binary and text files. > > gegroet, > Erik V. - http://www.erikveen.dds.nl/ I'm on OS X. I tried it with 'rb', but still get the same error. --Aaron