Open jeffblake opened 9 years ago
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.
.close
Tempfile
close
pass.cleanup!
Hi, Could you please provide a use case in order to reproduce this IOError
Removing the call to
.close
will fix it. You can't access an instance ofTempfile
afterclose
is called. Perhaps adding another method likepass.cleanup!
that closes the temp file is a good idea.