From c0f023b573c88c46a389058394699490cb2fdf9f Mon Sep 17 00:00:00 2001 From: thezeroalpha <8124851+thezeroalpha@users.noreply.github.com> Date: Thu, 14 Jun 2018 19:08:50 +0200 Subject: [PATCH] rbenv: add page (#2133) --- pages/common/rbenv.md | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 pages/common/rbenv.md diff --git a/pages/common/rbenv.md b/pages/common/rbenv.md new file mode 100644 index 0000000000..abda059154 --- /dev/null +++ b/pages/common/rbenv.md @@ -0,0 +1,31 @@ +# 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 folder: + +`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}}`