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 ?)
bundler: failed to load command: jekyll (/Users/jared/work/gagesalzano2/vendor/bundle/ruby/2.7.0/bin/jekyll)
Traceback (most recent call last):
56: from /Users/jared/.rbenv/versions/2.7.0/bin/bundle:23:in `<main>'
And I get this issue when I try to update ruby
test
fold
command in linux?
_events
collection, and the iCal standard demands newlines (plus then two spaces) after 75 characters
bundle exec jekyll serve --livereload
But I've been unable to serve the site and receive the following error when I try to bundle install
or bundle update
: Installing eventmachine 1.2.7 with native extensions
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
Any help would be appreciated.