pack-rb

pack-rb installs a pack executable through RubyGems and delegates to the Pack Rust binary.

gem install pack-rb
pack --help

On first run, the wrapper detects the current platform, downloads the matching Pack release asset from GitHub Releases, stores it in the user cache, and execs it.

The wrapper follows GitHub release redirects and verifies the downloaded binary against the published SHA256SUMS file before it is installed.

Environment variables:

  • PACK_RB_VERSION forces a specific Pack version instead of the gem version.
  • PACK_RB_GITHUB_REPOSITORY overrides the default release repository.
  • PACK_RB_DOWNLOAD_BASE_URL overrides the release download base URL completely.
  • PACK_RB_INSTALL_DIR overrides the local binary cache directory.
  • PACK_RB_SKIP_CHECKSUM=1 disables checksum verification for custom development mirrors.