You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I ran into a small problem recently: Apparently, when writing to a buffer, rubyzip creates Tempfiles in the working directory. In my case, no files can be written to that directory.
My current workaround is to use Dir.chdir to change the working directory before using rubyzip and then set if back to the old value afterwards. This works fine, but still I wonder if a configuration option within rubyzip to set a temporary directory (maybe defaulting to /tmp) would make sense.
Anyway, that is just a suggestion. Keep up the good work!
The text was updated successfully, but these errors were encountered:
I ran into a small problem recently: Apparently, when writing to a buffer, rubyzip creates Tempfiles in the working directory. In my case, no files can be written to that directory.
My current workaround is to use
Dir.chdir
to change the working directory before using rubyzip and then set if back to the old value afterwards. This works fine, but still I wonder if a configuration option within rubyzip to set a temporary directory (maybe defaulting to/tmp
) would make sense.Anyway, that is just a suggestion. Keep up the good work!
The text was updated successfully, but these errors were encountered: