frozon / passbook

Passbook gem let's you create pkpass for passbook iOS 6

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

File output causes IOError because of temp_file.close

jeffblake opened this issue · comments

Removing the call to .close will fix it. You can't access an instance of Tempfile after close is called. Perhaps adding another method like pass.cleanup! that closes the temp file is a good idea.

Hi,
Could you please provide a use case in order to reproduce this IOError