Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix for important missing step in macOS Installation Docs: Add the Homebrew gems directory to the PATH #8496

Merged
merged 3 commits into from
Mar 27, 2021
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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/2.7.0/bin:$PATH"' >> ~/.zshrc
DirtyF marked this conversation as resolved.
Show resolved Hide resolved

# 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/2.7.0/bin:$PATH"' >> ~/.bash_profile
DirtyF marked this conversation as resolved.
Show resolved Hide resolved

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