Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Mac OS X Packager for RubyGems
branch: master

Merge pull request #1 from blambeau/master

require 'packager/rake_task'
latest commit eab917f55c
Peter Wagenet authored

README.md

Packager

Packager is a Ruby Gem that builds one-click installer packages of your gem for Mac OS X and Windows.

Requirements

Windows: MinGW Ruby install (such as One-Click RubyInstaller) and Inno Setup

Mac OS X: Universal binary version of Ruby (Learn More) and possibly the OS X Developer Tools

Usage

In your project's Rakefile

require 'packager/rake_task'
Packager::RakeTask.new(:pkg) do |t|
  t.package_name = "My Project"
  t.version = "1.0.0"
  t.domain = "myproject.com"
  t.bin_files = ["utility", "helper"]
  t.resource_files = ["images", "README"]
end

Known Issues

  • Requires a git repo for your project (git ls-files is used internally)
  • Limited configuration
  • No installer styling options
  • When uninstalling from Windows Ruby Uninstaller isn't run properly, though this shouldn't actually cause any problems.

Credits

  • Peter Wagenet
  • Yehuda Katz
Something went wrong with that request. Please try again.