Update ToC

This commit is contained in:
Mislav Marohnić 2015-12-24 20:01:36 +01:00
parent 3997a394d9
commit c9c9415154

View File

@ -43,8 +43,9 @@ RVM?**](https://github.com/rbenv/rbenv/wiki/Why-rbenv%3F)
* [Upgrading](#upgrading) * [Upgrading](#upgrading)
* [Homebrew on Mac OS X](#homebrew-on-mac-os-x) * [Homebrew on Mac OS X](#homebrew-on-mac-os-x)
* [How rbenv hooks into your shell](#how-rbenv-hooks-into-your-shell) * [How rbenv hooks into your shell](#how-rbenv-hooks-into-your-shell)
* [Installing Ruby Versions](#installing-ruby-versions) * [Installing Ruby versions](#installing-ruby-versions)
* [Uninstalling Ruby Versions](#uninstalling-ruby-versions) * [Installing Ruby gems](#installing-ruby-gems)
* [Uninstalling Ruby versions](#uninstalling-ruby-versions)
* [Uninstalling rbenv](#uninstalling-rbenv) * [Uninstalling rbenv](#uninstalling-rbenv)
* [Command Reference](#command-reference) * [Command Reference](#command-reference)
* [rbenv local](#rbenv-local) * [rbenv local](#rbenv-local)
@ -272,7 +273,7 @@ opposed to this idea. Here's what `rbenv init` actually does:
Run `rbenv init -` for yourself to see exactly what happens under the Run `rbenv init -` for yourself to see exactly what happens under the
hood. hood.
### Installing Ruby Versions ### Installing Ruby versions
The `rbenv install` command doesn't ship with rbenv out of the box, but The `rbenv install` command doesn't ship with rbenv out of the box, but
is provided by the [ruby-build][] project. If you installed it either is provided by the [ruby-build][] project. If you installed it either
@ -293,7 +294,7 @@ that directory can also be a symlink to a Ruby version installed
elsewhere on the filesystem. rbenv doesn't care; it will simply treat elsewhere on the filesystem. rbenv doesn't care; it will simply treat
any entry in the `versions/` directory as a separate Ruby version. any entry in the `versions/` directory as a separate Ruby version.
#### Installing Ruby Gems #### Installing Ruby gems
Once you've installed some Ruby versions, you'll want to install gems. Once you've installed some Ruby versions, you'll want to install gems.
First, ensure that the target version for your project is the one you want by First, ensure that the target version for your project is the one you want by
@ -316,7 +317,7 @@ $ gem env home
# => ~/.rbenv/versions/<ruby-version>/lib/ruby/gems/... # => ~/.rbenv/versions/<ruby-version>/lib/ruby/gems/...
``` ```
### Uninstalling Ruby Versions ### Uninstalling Ruby versions
As time goes on, Ruby versions you install will accumulate in your As time goes on, Ruby versions you install will accumulate in your
`~/.rbenv/versions` directory. `~/.rbenv/versions` directory.