rbenv-bundle-exec
« Back to VersTracker
Description:
Integrate rbenv and bundler
Type: Formula  |  Tracked Since: Dec 28, 2025
Links: Homepage  |  formulae.brew.sh
Category: Developer tools
Tags: ruby rbenv bundler development gem
Install: brew install rbenv-bundle-exec
About:
rbenv-bundle-exec is a plugin for rbenv that automatically executes commands within the context of the project's Bundler environment. It ensures that 'bundle exec' is prefixed to commands like 'rails', 'rake', and 'rspec' when run inside a directory with a Gemfile. This eliminates the need for manual prefixing and prevents version conflicts between system gems and project-specific dependencies.
Key Features:
  • Automatic 'bundle exec' prefixing for commands
  • Seamless integration with rbenv shims
  • Zero configuration required for basic usage
  • Prevents common gem version conflicts
Use Cases:
  • Running Rails/Rake tasks without manually typing 'bundle exec'
  • Executing tests or scripts that rely on specific gem versions
  • Streamlining development workflows in Ruby projects using Bundler
Alternatives:
  • binstubs – Requires generating wrapper scripts in bin/ directory; rbenv-bundle-exec works globally without modifying project files.
  • chruby – Alternative Ruby version manager that handles gem isolation differently, often requiring explicit 'bundle exec' usage.
Version History
Detected Version Rev Change Commit