From: Eric Hodel Date: 2011-02-03T10:33:59+09:00 Subject: Re: Zlib::GzipReader and multiple compressed blobs in a single stream On Jan 28, 2011, at 15:09, Jos Backus wrote: > I'm trying to inflate a set of concatenated gzipped blobs stored in a single > file. As it stands, Zlib::GzipReader only inflates the first blob. It > appears that the unused instance method would return the remaining data, > ready to be passed into Zlib::GzipReader, but it yields an error: > > method `method_missing' called on hidden T_STRING object > > What could be going on here? It's a bug, the internal buffer that libz uses is dup'd, but this is not enough to make it safe for use by ruby. I have filed a ticket and attached a stupid patch: http://redmine.ruby-lang.org/issues/show/4360