rbenv: add table headings

This commit is contained in:
Rico Sta. Cruz 2018-02-20 23:53:18 +08:00
parent 10e305bfe0
commit 0c46d32aa6
No known key found for this signature in database
GPG Key ID: CAAD38AE2962619A
1 changed files with 7 additions and 1 deletions

View File

@ -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 |