I\'m using a combination of rubyzip and nokogiri to edit a .docx file. I\'m using rubyzip to unzip the .docx file and then using nokogiri to parse and change the body of the wo
According to the official Github documentation, you should Use write_buffer instead open. There's also a code example at the link.
Use write_buffer instead open