1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2024-10-31 02:18:01 +01:00
tldr/pages/common/rbenv.md
Marco Bonelli 2599a6de48 Refactor: change "folder" to "directory" where needed.
This commit fixes every instance in which the word "folder" is
incorrectly used instead of "directory".
2019-02-13 20:51:04 +05:30

645 B

rbenv

A tool to easily install Ruby versions and manage application environments.

  • Install one or more space-separated versions of Ruby:

rbenv install {{version(s)}}

  • Display a list of installed versions:

rbenv versions

  • Use a specific version of Ruby across the whole system:

rbenv global {{version}}

  • Use a specific version of Ruby for an application/project directory:

rbenv local {{version}}

  • Show the currently selected Ruby version:

rbenv version

  • Uninstall a version of Ruby:

rbenv uninstall {{version}}

  • Display all ruby versions that contain the specified executable:

rbenv whence {{executable}}