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.Hi folks. I've been having a hell of a time just trying to run jekyll serve. As of two days ago this command worked:
bundle exec jekyll serve --livereload
But I've been unable to serve the site and receive the following error when I try tobundle install
orbundle update
:Installing eventmachine 1.2.7 with native extensions Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
Any help would be appreciated.
For context: I'm on a new Mac with the M1 chip. From the bit of research I've done, it seems like the issue may be this: https://stackoverflow.com/questions/65075687/issues-serving-jekyll-to-localhost-eventmachine-1-2-7-has-an-error-when-install
Your issue is as you see building the mentioned gems native parts, meaning that your machine is probably lacking something, you could debug this issue by trying to install said gem locally with gem install YOUR_GEM
I am assuming that you are missing some build tools needed to build said gem