From b828ffd5590794390610d7bb204b1635a8241c07 Mon Sep 17 00:00:00 2001 From: Moncef Belyamani Date: Sat, 27 Mar 2021 12:25:29 -0400 Subject: [PATCH] Fix for important missing step in macOS Installation Docs: Add the Homebrew gems directory to the PATH (#8496) Merge pull request 8496 --- docs/_docs/installation/macos.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/_docs/installation/macos.md b/docs/_docs/installation/macos.md index 7daa390e..0dfaf095 100644 --- a/docs/_docs/installation/macos.md +++ b/docs/_docs/installation/macos.md @@ -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