The error happens on the line: zos.print IO.read(csv_path)
I see that p zos.class shows: Zip::ZipOutputStream and that the print method is inherited from: http://rubyzip.sourceforge.net/classes/IOExtras/AbstractOutputStream.html where print is shown to be this according to doc: # File lib/zip/ioextras.rb, line 130 def print(*params) self << params.to_s << $\.to_s end I am not sure offhand how to stream the data, but gathered that the problem was from reading the file into memory -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

