Packager is a Ruby Gem that builds one-click installer packages of your gem for Mac OS X and Windows.
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
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
- 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.
- Peter Wagenet
- Yehuda Katz