mirror of
https://github.com/jekyll/jekyll.git
synced 2026-02-16 01:25:24 -05:00
Fix for important missing step in macOS Installation Docs: Add the Homebrew gems directory to the PATH (#8496)
Merge pull request 8496
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user