# Installer brew-gem avec Homebrew

Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de brew-gem pour les workflows d'agents IA.

## installation

```sh
sudo av install brew:brew-gem
```

Commandes d'installation supplémentaires:

### macOS

- Homebrew (100%):

```sh
brew install brew-gem
```

  Preuve: local Homebrew formula metadata

## Faits du paquet

- **Clé du paquet:** brew:brew-gem
- **Gestionnaire de paquets:** Homebrew
- **Page du gestionnaire de paquets:** <https://formulae.brew.sh/formula/brew-gem>
- **Version:** 1.3.4
- **Résumé source:** Install RubyGems as Homebrew formulae
- **Page d'accueil:** <https://github.com/sportngin/brew-gem>
- **Dépôt:** <https://github.com/sportngin/brew-gem>
- **Docs amont:** <https://github.com/sportngin/brew-gem#readme>
- **Licence:** MIT
- **Archive source:** <https://github.com/sportngin/brew-gem/archive/refs/tags/v1.3.4.tar.gz>
- **Dernière mise à jour:** 2026-05-27T00:14:05Z
- **Généré:** 2026-07-08T07:18:31+00:00

## exécutables

- brew-gem (cli)
- brew-gem (alias)

## Bibliothèques fournies par macOS

- ruby

## Comportement d'installation

- hook post-installation: non défini
- Bouteille: disponible sur all

## Version et fraîcheur

- page générée: 2026-07-08
- version du gestionnaire: 1.3.4
- gestionnaire mis à jour: 2026-05-27
- données locales: OK
- dépôt amont: https://github.com/sportngin/brew-gem
- dernière version détectée: v1.3.4 (à jour)
## Historique du projet et usages

brew-gem is a small bridge between RubyGems and Homebrew: it generates Homebrew formulae that install Ruby gems as self-contained Cellar packages.

### Historique du projet

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.

### Historique d'adoption

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.

### Modes d'utilisation

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.

### Pourquoi les passionnés de paquets s'y intéressent

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.

### Chronologie

- 2014: Repository created and v0.2.0 released.
- 2014: v0.3.0 released with early Homebrew integration improvements.
- 2018: v0.9.0 release addressed compatibility with newer Homebrew behavior.
- 2026: Homebrew stable version reported as 1.3.4.

### Related projects

- RubyGems supplies the upstream packages that brew-gem wraps.
- Homebrew supplies the formula and Cellar lifecycle model.
- Shell completion handling in the README links the tool to bash and zsh completion packaging.

### Sources

- <https://formulae.brew.sh/api/formula/brew-gem.json>
- <https://github.com/sportngin/brew-gem>
- <https://raw.githubusercontent.com/sportngin/brew-gem/master/README.md>


## Notes de sécurité

Aucun manifest local de gestion des secrets correspondant n'a été trouvé pour brew-gem. Les métadonnées de paquet Nucleus restent publiées ici afin que la couverture future dispose d'une URL stable.


## Détails de la base source

- **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:** head, stable


## Liens liés

- [Source-control packages](https://www.automicvault.com/fr/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Package publisher tools](https://www.automicvault.com/fr/pkg/package-publishers/) - Belongs to a package publishing or registry command family.
- [Terminal utility packages](https://www.automicvault.com/fr/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/fr/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [grayskull](https://www.automicvault.com/fr/pkg/brew/grayskull/) - Shares av.db curated category or tags: cli, developer-tools, package-management, packaging.
- [pdm](https://www.automicvault.com/fr/pkg/brew/pdm/) - Shares av.db curated category or tags: cli, developer-tools, package-management, packaging.
- [poetry](https://www.automicvault.com/fr/pkg/brew/poetry/) - Shares av.db curated category or tags: cli, developer-tools, package-management, packaging.
- [rattler-build](https://www.automicvault.com/fr/pkg/brew/rattler-build/) - Shares av.db curated category or tags: cli, developer-tools, package-management, packaging.
- [rpm](https://www.automicvault.com/fr/pkg/brew/rpm/) - Shares av.db curated category or tags: cli, developer-tools, package-management, packaging.
- [twine](https://www.automicvault.com/fr/pkg/brew/twine/) - Shares av.db curated category or tags: cli, developer-tools, package-management, packaging.
- [akku](https://www.automicvault.com/fr/pkg/brew/akku/) - Shares av.db curated category or tags: cli, developer-tools, package-management.
- [bower](https://www.automicvault.com/fr/pkg/brew/bower/) - Shares av.db curated category or tags: cli, developer-tools, package-management.
- [brew-php-switcher](https://www.automicvault.com/fr/pkg/brew/brew-php-switcher/) - Package names and metadata indicate a similar tool family. Shared terms: brew, cli, developer, developer-tools, homebrew.
- [clib](https://www.automicvault.com/fr/pkg/brew/clib/) - Local package facts share a topical domain. Shared terms: cli, developer, developer-tools, install, management.

## Combined YAML source

View the package source record on GitHub. [combined/brew-gem.yml](https://github.com/automic-vault/db/blob/main/combined/brew-gem.yml)


## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- cross-ecosystem install command graph
