chruby-fish
« Back to VersTracker
Description:
Thin wrapper around chruby to make it work with the Fish shell
Type: Formula  |  Latest Version: 1.0.0@0  |  Tracked Since: Dec 17, 2025
Links: Homepage  |  formulae.brew.sh
Category: Developer tools
Tags: ruby fish-shell version-manager development chruby
Install: brew install chruby-fish
About:
chruby-fish is a lightweight integration script that enables the chruby Ruby version manager to function correctly within the Fish shell. It automatically modifies the shell's PATH and environment variables when switching Ruby versions. This allows developers using Fish to seamlessly manage and switch between multiple Ruby installations just as they would in Bash or Zsh.
Key Features:
  • Seamless chruby integration for the Fish shell
  • Automatic Ruby version switching on directory change
  • Lightweight with no external dependencies beyond chruby and Fish
Use Cases:
  • Managing multiple Ruby versions (e.g., 2.7, 3.0, 3.1) in a Fish shell environment
  • Automatically switching Ruby versions when navigating to project directories with .ruby-version files
Alternatives:
  • rbenv – rbenv is a more feature-rich version manager with a shims-based approach, whereas chruby-fish is a simpler wrapper for the minimalist chruby tool.
  • rvm – RVM is a comprehensive tool that manages environments, gemsets, and rubies, while chruby-fish focuses solely on switching the active Ruby interpreter.
License: MIT
Dependencies: chruby, fish
Bottles available for: all
Version History
Detected Version Rev Change Commit