macOS
brew install brew-gemlocal Homebrew formula metadata
安装
brew install brew-gemlocal Homebrew formula metadata
概览
Install RubyGems as Homebrew formulae
历史
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.
安全态势
没有找到 brew-gem 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布,以便未来覆盖拥有稳定的软件包 URL。
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
brew-gem | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/sportngin/brew-gem
安装元数据
| 软件包键 | brew:brew-gem |
|---|---|
| 版本 | 1.3.4 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/brew-gem |
| 主页 | https://github.com/sportngin/brew-gem |
| 仓库 | https://github.com/sportngin/brew-gem |
| 上游文档 | https://github.com/sportngin/brew-gem#readme |
| 许可证 | MIT |
| 源码归档 | https://github.com/sportngin/brew-gem/archive/refs/tags/v1.3.4.tar.gz |
| 最后更新 | 2026-05-27T00:14:05Z |
| Pulse | updated |
| macOS 提供的库 | ruby |
| Bottle | 可用 (于 all) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| 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 |
|
来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.