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
After spending lot of time, I finally figured out the missing part. When using the rubyzip gem, I also had to require zip/zip.
rubyzip
zip/zip
Add this to your Gemfile
gem 'rubyzip', :require => 'zip/zip'
Just adding gem 'rubyzip did not work for me.
gem 'rubyzip