Jump to content

rbenv

From ArchWiki
Revision as of 12:55, 12 July 2025 by J.mlr (talk | contribs) (Plugins: ruby-build is now in the "extra" repo, not AUR.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

rbenv (Simple Ruby Version Management) lets you easily switch between multiple versions of Ruby. It is simple, unobtrusive, and follows the UNIX tradition of single-purpose tools that do one thing well.

Another tool to be used for the same purpose is RVM.

Installation

Install the rbenv package.

Plugins

rbenv can be extended via a plugin system, and the rbenv wiki includes a list of useful plugins. The ruby-build plugin is especially useful, as it allows you to install Ruby versions with the rbenv install command.

See also