From 2f1ba8e7bede6e699adee97078be8a69e19f3849 Mon Sep 17 00:00:00 2001 From: Frank Taillandier Date: Fri, 4 Dec 2020 11:07:07 +0100 Subject: [PATCH] docs: Shell-based instructions Fix #8483 --- docs/_docs/installation/macos.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/_docs/installation/macos.md b/docs/_docs/installation/macos.md index da7e4b95..09f4314b 100644 --- a/docs/_docs/installation/macos.md +++ b/docs/_docs/installation/macos.md @@ -31,14 +31,14 @@ brew install ruby Add the brew ruby path to your shell configuration: ```bash -# MacOS Catalina (10.15) users and newer -echo 'export PATH="/usr/local/opt/ruby/bin:$PATH"' >> ~/.zshenv +# If you're using Zsh +echo 'export PATH="/usr/local/opt/ruby/bin:$PATH"' >> ~/.zshrc -# MacOS Mojave (10.14) users and older +# If you're using Bash echo 'export PATH="/usr/local/opt/ruby/bin:$PATH"' >> ~/.bash_profile -# Unsure which version of macOS you are using? Try -sw_vers -productVersion +# Unsure which shell you are using? Try +echo $SHELL ``` Relaunch your terminal and check your Ruby setup: