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: