Skip to content
Mac OS X Packager for RubyGems
Ruby
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
lib
resources
README.md
packager.gemspec

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.