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