docs: Shell-based instructions

Fix #8483
This commit is contained in:
Frank Taillandier 2020-12-04 11:07:07 +01:00 committed by GitHub
parent 9a6d3ea51e
commit 2f1ba8e7be
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 5 deletions

View File

@ -31,14 +31,14 @@ brew install ruby
Add the brew ruby path to your shell configuration: Add the brew ruby path to your shell configuration:
```bash ```bash
# MacOS Catalina (10.15) users and newer # If you're using Zsh
echo 'export PATH="/usr/local/opt/ruby/bin:$PATH"' >> ~/.zshenv 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 echo 'export PATH="/usr/local/opt/ruby/bin:$PATH"' >> ~/.bash_profile
# Unsure which version of macOS you are using? Try # Unsure which shell you are using? Try
sw_vers -productVersion echo $SHELL
``` ```
Relaunch your terminal and check your Ruby setup: Relaunch your terminal and check your Ruby setup: