Add step to set SDKROOT (#8478)

Merge pull request 8478
This commit is contained in:
Edson Jiménez 2021-05-16 15:10:45 -05:00 committed by GitHub
parent f267dafc0c
commit 1ffda285d6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 0 deletions

View File

@ -10,6 +10,13 @@ To install the command line tools to compile native extensions, open a terminal
xcode-select --install
```
### set SDKROOT (only macOS Catalina or later)
Starting on macOS Catalina (10.15) the headers used for Ruby have been moved from their previous location which results in some gems, including Jekyll to fail installation. This can be solved by setting SDKROOT in your shell configuration to the value provided by xcrun.
```ssh
export SDKROOT=$(xcrun --show-sdk-path)
```
## Install Ruby
Jekyll requires **Ruby v{{ site.data.ruby.min_version }}** or higher.