The following Rails/Ruby code gives me this error: "Zero-length blob
not permitted".

@magick_image = Magick::Image.from_blob(@file.read).first

Where @file is a StringIO object or a File object, depending on the
size of the uploaded file.

@file.read.size returns the expected file size (in bytes).

Any ideas?

Thanks,
Joe