Skip to content
This repository

Mac OS X Packager for RubyGems

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 lib
Octocat-spinner-32 resources
Octocat-spinner-32 README.md
Octocat-spinner-32 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.