Merge pull request #1191 from DestyNova/patch-1

Show how to update the list of available Ruby versions
This commit is contained in:
SHIBATA Hiroshi 2019-09-27 09:05:50 +09:00 committed by GitHub
commit 577f04653d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -43,6 +43,7 @@ RVM?**](https://github.com/rbenv/rbenv/wiki/Why-rbenv%3F)
* [Upgrading with Homebrew](#upgrading-with-homebrew) * [Upgrading with Homebrew](#upgrading-with-homebrew)
* [Basic GitHub Checkout](#basic-github-checkout) * [Basic GitHub Checkout](#basic-github-checkout)
* [Upgrading with Git](#upgrading-with-git) * [Upgrading with Git](#upgrading-with-git)
* [Updating the list of available Ruby versions](#updating-the-list-of-available-ruby-versions)
* [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)
* [Installing Ruby gems](#installing-ruby-gems) * [Installing Ruby gems](#installing-ruby-gems)
@ -289,6 +290,15 @@ $ cd ~/.rbenv
$ git pull $ git pull
~~~ ~~~
#### Updating the list of available Ruby versions
If you're using the `rbenv install` command, then the list of available Ruby versions is not automatically updated when pulling from the rbenv repo. To do this manually:
```sh
$ cd ~/.rbenv/plugins/ruby-build
$ git pull
```
### How rbenv hooks into your shell ### How rbenv hooks into your shell
Skip this section unless you must know what every line in your shell Skip this section unless you must know what every line in your shell