Jump to content

rbenv

From ArchWiki
Revision as of 20:08, 16 March 2025 by Ismailarilik (talk | contribs) (Move to "Category:Development" after this discussion: https://wiki.archlinux.org/title/Talk:Python/Virtual_environment#Should_this_be_moved_under_%22Development%22_category?)

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. You can install ruby-build from the AUR.

See also