Permalink
Browse files

make rbenv init more visible in the readme (#1092)

[ci skip]
  • Loading branch information...
jacobherrington authored and mislav committed Jun 7, 2018
1 parent 199e598 commit 8b18b962a325058048928a7862f95682054bfd55
Showing with 14 additions and 6 deletions.
  1. +14 −6 README.md
View
@@ -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.)

0 comments on commit 8b18b96

Please sign in to comment.