Skip to content

Commit

Permalink
Fix for important missing step in macOS Installation Docs: Add the Ho…
Browse files Browse the repository at this point in the history
…mebrew gems directory to the PATH (#8496)

Merge pull request 8496
  • Loading branch information
monfresh committed Mar 27, 2021
1 parent 2aa33c8 commit b828ffd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/_docs/installation/macos.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,14 +28,14 @@ To run the latest Ruby version you need to install it through [Homebrew](https:/
brew install ruby
```

Add the brew ruby path to your shell configuration:
Add the brew ruby and gems path to your shell configuration:

```bash
# If you're using Zsh
echo 'export PATH="/usr/local/opt/ruby/bin:$PATH"' >> ~/.zshrc
echo 'export PATH="/usr/local/opt/ruby/bin:/usr/local/lib/ruby/gems/3.0.0/bin:$PATH"' >> ~/.zshrc

# If you're using Bash
echo 'export PATH="/usr/local/opt/ruby/bin:$PATH"' >> ~/.bash_profile
echo 'export PATH="/usr/local/opt/ruby/bin:/usr/local/lib/ruby/gems/3.0.0/bin:$PATH"' >> ~/.bash_profile

# Unsure which shell you are using? Type
echo $SHELL
Expand Down

0 comments on commit b828ffd

Please sign in to comment.