File output causes IOError because of temp_file.close
jeffblake opened this issue · comments
Jeff Blake commented
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.
Thomas commented
Hi,
Could you please provide a use case in order to reproduce this IOError