|
|
@ -43,8 +43,9 @@ RVM?**](https://github.com/rbenv/rbenv/wiki/Why-rbenv%3F) |
|
|
|
* [Upgrading](#upgrading) |
|
|
|
* [Homebrew on Mac OS X](#homebrew-on-mac-os-x) |
|
|
|
* [How rbenv hooks into your shell](#how-rbenv-hooks-into-your-shell) |
|
|
|
* [Installing Ruby Versions](#installing-ruby-versions) |
|
|
|
* [Uninstalling Ruby Versions](#uninstalling-ruby-versions) |
|
|
|
* [Installing Ruby versions](#installing-ruby-versions) |
|
|
|
* [Installing Ruby gems](#installing-ruby-gems) |
|
|
|
* [Uninstalling Ruby versions](#uninstalling-ruby-versions) |
|
|
|
* [Uninstalling rbenv](#uninstalling-rbenv) |
|
|
|
* [Command Reference](#command-reference) |
|
|
|
* [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 |
|
|
|
hood. |
|
|
|
|
|
|
|
### Installing Ruby Versions |
|
|
|
### Installing Ruby versions |
|
|
|
|
|
|
|
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 |
|
|
@ -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 |
|
|
|
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. |
|
|
|
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/... |
|
|
|
``` |
|
|
|
|
|
|
|
### Uninstalling Ruby Versions |
|
|
|
### Uninstalling Ruby versions |
|
|
|
|
|
|
|
As time goes on, Ruby versions you install will accumulate in your |
|
|
|
`~/.rbenv/versions` directory. |
|
|
|