From f4a7eee57a11129a70e1894f677687a8b95f20ff Mon Sep 17 00:00:00 2001 From: Frank Taillandier Date: Fri, 4 Dec 2020 11:17:01 +0100 Subject: [PATCH] docs: shell-based instructions Fix #8483 --- docs/_docs/installation/macos.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/_docs/installation/macos.md b/docs/_docs/installation/macos.md index 09f4314b..cadb0c03 100644 --- a/docs/_docs/installation/macos.md +++ b/docs/_docs/installation/macos.md @@ -37,7 +37,7 @@ echo 'export PATH="/usr/local/opt/ruby/bin:$PATH"' >> ~/.zshrc # If you're using Bash echo 'export PATH="/usr/local/opt/ruby/bin:$PATH"' >> ~/.bash_profile -# Unsure which shell you are using? Try +# Unsure which shell you are using? Type echo $SHELL ``` @@ -106,14 +106,14 @@ ruby -v Append your path file with the following, replacing the `X.X` with the first two digits of your Ruby version: ```bash -# MacOS Catalina (10.15) users and newer -echo 'export PATH="$HOME/.gem/ruby/X.X.0/bin:$PATH"' >> ~/.zshenv +# If you're using Zsh +echo 'export PATH="$HOME/.gem/ruby/X.X.0/bin:$PATH"' >> ~/.zshrc -# MacOS Mojave (10.14) users and older +# If you're using Bash echo 'export PATH="$HOME/.gem/ruby/X.X.0/bin:$PATH"' >> ~/.bash_profile -# Unsure which version of macOS you are using? Try -sw_vers -productVersion +# Unsure which shell you are using? Type +echo $SHELL ``` Check that `GEM PATHS:` points to your home directory: