macOS
brew install brew-gemlocal Homebrew formula metadata
brew
Install RubyGems as Homebrew formulae. Version 1.3.4 via Homebrew; verified 2026-05-27.
install
brew install brew-gemlocal Homebrew formula metadata
overview
Install RubyGems as Homebrew formulae
history
brew-gem is a small bridge between RubyGems and Homebrew: it generates Homebrew formulae that install Ruby gems as self-contained Cellar packages.
The sportngin/brew-gem repository was created in February 2014, with early v0.2.x releases following within weeks. The README explains the core idea: generate a stub formula that runs `gem install` into the formula prefix so the resulting package and dependencies live under Homebrew's Cellar.
The project explicitly limits its purpose to standalone Ruby command-line tools, not development libraries. That philosophy made it a pragmatic workaround for Ruby CLI tools that users wanted to manage with `brew list`, `brew upgrade`, and Homebrew-style uninstalls.
brew-gem remained a niche packaging helper but has persisted unusually long for a glue tool. GitHub metadata and Homebrew formula data show current activity and a stable 1.3.x line, while Homebrew analytics reported several thousand installs over the prior year at lookup time.
Users run commands such as `brew gem install heroku`, optionally choosing a specific gem version or Homebrew-installed Ruby. Installed gems are listed with a `gem-` prefix, making Ruby CLI tools visible to normal Homebrew workflows.
brew-gem matters because it captures a recurring package-manager problem: language package managers are good at libraries, while OS/package managers are good at executable lifecycle management. It is a compact example of turning language-level packages into system-level formulae without maintaining a formula by hand for every gem.
security posture
No matching local secret-handling manifest was found for brew-gem. Nucleus package metadata is still published here so future coverage has a stable package URL.
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
brew-gem | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
https://github.com/sportngin/brew-gem
install metadata
| Package key | brew:brew-gem |
|---|---|
| Version | 1.3.4 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/brew-gem |
| Homepage | https://github.com/sportngin/brew-gem |
| Repository | https://github.com/sportngin/brew-gem |
| Upstream docs | https://github.com/sportngin/brew-gem#readme |
| License | MIT |
| Source archive | https://github.com/sportngin/brew-gem/archive/refs/tags/v1.3.4.tar.gz |
| Last updated | 2026-05-27T00:14:05Z |
| Pulse | updated |
| Uses from macOS | ruby |
| Bottle | available (on all) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | brew-gem |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.