bundle install
)
set SDKROOT (only macOS Catalina or later)Permalink
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.
export SDKROOT=$(xcrun --show-sdk-path)
SDKROOT
is an environment variable so you have two possibilities: execute export SDKROOT=$(xcrun --show-sdk-path)
in your terminal everytime you open one to work with jekyll (env vars are limited to the current terminal session), or add it in your shell configuration file in order to always have it declared (something like ~/.bashrc
or ~/.zshrc
maybe ?)
And I get this issue when I try to update ruby
test
fold
command in linux?