macOS
brew install rbenv-varslocal Homebrew formula metadata
安装
brew install rbenv-varslocal Homebrew formula metadata
概览
Safely sets global and per-project environment variables
历史
rbenv-vars is an rbenv plugin that loads global and directory-specific environment-variable assignments before launching Ruby processes.
rbenv-vars was created within the early rbenv ecosystem to set environment variables before Ruby processes are spawned. Version 1.0.0 was publicly released on September 27, 2011.
Version 1.1.0 added conditional `?=` assignments, and version 1.2.0 improved source-file handling and diagnostic output.
rbenv-vars is distributed through Homebrew and appears in rbenv's official plugin catalog, making it a conventional extension for projects that already use rbenv.
Users place global assignments in `$(rbenv root)/vars` and project assignments in `.rbenv-vars`. Files in ancestor directories are applied in order, with the current directory taking precedence.
Assignments use `VAR=value` or conditional `VAR?=value` syntax. Variable substitution is supported, while command substitution and shell expansion are intentionally disallowed.
The plugin demonstrates rbenv's hook-oriented extensibility beyond Ruby-version selection. Its deliberately restricted variable syntax avoids evaluating shell commands, which distinguishes it from sourcing arbitrary environment files.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
local files
These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.
Config paths the tool may read or write during local use.
$(rbenv root)/vars.rbenv-vars可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
rbenv-vars | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/rbenv/rbenv-vars
安装元数据
| 软件包键 | brew:rbenv-vars |
|---|---|
| 版本 | 1.2.0 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/rbenv-vars |
| 主页 | https://github.com/rbenv/rbenv-vars |
| 仓库 | https://github.com/rbenv/rbenv-vars |
| 许可证 | MIT |
| 源码归档 | https://github.com/rbenv/rbenv-vars/archive/refs/tags/v1.2.0.tar.gz |
| 依赖 | rbenv |
| Bottle | 可用 (于 all) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | rbenv-vars |
| Version Scheme | 0 |
| Revision | 1 |
| 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.