ZipFolder

Zip folder up. Just took this example and packaged it as a gem.

Installation

Add this line to your application's Gemfile:

gem 'zip_folder'

Usage

ZipFolder.zip(input_dir, output_file)
ZipFolder.zip("/path/to/folder", "/path/to/file.zip")