rbenv-vars
« Back to VersTracker
Description:
Safely sets global and per-project environment variables
Type: Formula  |  Tracked Since: Dec 28, 2025
Links: Homepage  |  formulae.brew.sh
Category: Developer tools
Tags: ruby rbenv environment configuration development
Install: brew install rbenv-vars
About:
rbenv-vars is a plugin for rbenv that automatically loads environment variables from a .rbenv-vars file into your shell. It provides a safe, project-specific way to manage configuration without polluting the global environment. This ensures that sensitive data and settings are isolated per project.
Key Features:
  • Automatic loading of environment variables from .rbenv-vars
  • Project-specific configuration that overrides global settings
  • Seamless integration with rbenv and the shell
  • Simple file-based management without external dependencies
Use Cases:
  • Managing API keys and database credentials for different Ruby projects
  • Setting project-specific Ruby version or build flags
  • Maintaining consistent development environments across a team
Alternatives:
  • direnv – More versatile, shell-agnostic tool that supports multiple languages, whereas rbenv-vars is Ruby-specific and tightly integrated with rbenv.
  • dotenv – A Ruby gem that loads variables into the application, while rbenv-vars loads them into the shell environment before the app runs.
Version History
Detected Version Rev Change Commit