From 8b18b962a325058048928a7862f95682054bfd55 Mon Sep 17 00:00:00 2001 From: jacob Date: Thu, 7 Jun 2018 16:33:25 -0500 Subject: [PATCH] make rbenv init more visible in the readme (#1092) [ci skip] --- README.md | 20 ++++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 90acd47c..8e181914 100644 --- a/README.md +++ b/README.md @@ -163,9 +163,13 @@ If you're on macOS, we recommend installing rbenv with Note that this also installs `ruby-build`, so you'll be ready to install other Ruby versions out of the box. -2. Run `rbenv init` and follow the instructions to set up - rbenv integration with your shell. This is the step that will make - running `ruby` "see" the Ruby version that you choose with rbenv. +2. Set up rbenv in your shell. + + ~~~ sh + $ rbenv init + ~~~ + + Follow the printed instructions to [set up rbenv shell integration](#how-rbenv-hooks-into-your-shell). 3. Close your Terminal window and open a new one so your changes take effect. @@ -245,9 +249,13 @@ a systemwide install. $ set -Ux fish_user_paths $HOME/.rbenv/bin $fish_user_paths ~~~ -3. Run `~/.rbenv/bin/rbenv init` and follow the instructions to set up - rbenv integration with your shell. This is the step that will make - running `ruby` "see" the Ruby version that you choose with rbenv. +3. Set up rbenv in your shell. + + ~~~ sh + $ ~/.rbenv/bin/rbenv init + ~~~ + + Follow the printed instructions to [set up rbenv shell integration](#how-rbenv-hooks-into-your-shell). 4. Restart your shell so that PATH changes take effect. (Opening a new terminal tab will usually do it.)