Using rubyzip error - no such file to load — zip/zip

后端 未结 7 1882
梦谈多话
梦谈多话 2020-12-06 09:37

I know there is another thread on this subject but I still face this problem even after using all solutions. Is there any other way to generate zip files? Can i use Ubuntu s

7条回答
  •  我在风中等你
    2020-12-06 10:15

    Also make sure that your unzipping process uses:

    Zip::ZipFile.open(self.data) do |zipfile|
    

    not

    Zip::Zipfile.open(self.data) do |zipfile|
    

    The capital F on ZipFile makes a difference.

提交回复
热议问题