From 0c46d32aa69fa781fca504f536502dbc29691f65 Mon Sep 17 00:00:00 2001 From: "Rico Sta. Cruz" Date: Tue, 20 Feb 2018 23:53:18 +0800 Subject: [PATCH] rbenv: add table headings --- rbenv.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/rbenv.md b/rbenv.md index 1a70da9d7..44d9657bb 100644 --- a/rbenv.md +++ b/rbenv.md @@ -56,6 +56,8 @@ See: [Installation](https://github.com/rbenv/rbenv#installation) ### Locally +| Command | Description | +| --- | --- | | `rbenv local 2.2.2` | Use Ruby _2.2.2_ in project | | `rbenv local --unset` | Undo above | @@ -63,13 +65,17 @@ Application-specific version numbers are stored in `.ruby-version`. ### Globally +| Command | Description | +| --- | --- | | `rbenv global 2.2.2` | Use Ruby _2.2.2_ globally | -| `rbenv global --unset` | Undo above | +| `rbenv global --unset` | Undo above | Global version numbers are stored in `~/.rbenv/version`. ### Shell +| Command | Description | +| --- | --- | | `rbenv shell 2.2.2` | Use Ruby _2.2.2_ in shell | | `rbenv shell --unset` | Undo above |