rbenv: add table headings
This commit is contained in:
parent
10e305bfe0
commit
0c46d32aa6
8
rbenv.md
8
rbenv.md
|
@ -56,6 +56,8 @@ See: [Installation](https://github.com/rbenv/rbenv#installation)
|
||||||
|
|
||||||
### Locally
|
### Locally
|
||||||
|
|
||||||
|
| Command | Description |
|
||||||
|
| --- | --- |
|
||||||
| `rbenv local 2.2.2` | Use Ruby _2.2.2_ in project |
|
| `rbenv local 2.2.2` | Use Ruby _2.2.2_ in project |
|
||||||
| `rbenv local --unset` | Undo above |
|
| `rbenv local --unset` | Undo above |
|
||||||
|
|
||||||
|
@ -63,13 +65,17 @@ Application-specific version numbers are stored in `.ruby-version`.
|
||||||
|
|
||||||
### Globally
|
### Globally
|
||||||
|
|
||||||
|
| Command | Description |
|
||||||
|
| --- | --- |
|
||||||
| `rbenv global 2.2.2` | Use Ruby _2.2.2_ globally |
|
| `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`.
|
Global version numbers are stored in `~/.rbenv/version`.
|
||||||
|
|
||||||
### Shell
|
### Shell
|
||||||
|
|
||||||
|
| Command | Description |
|
||||||
|
| --- | --- |
|
||||||
| `rbenv shell 2.2.2` | Use Ruby _2.2.2_ in shell |
|
| `rbenv shell 2.2.2` | Use Ruby _2.2.2_ in shell |
|
||||||
| `rbenv shell --unset` | Undo above |
|
| `rbenv shell --unset` | Undo above |
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue