I am attempting to locally host a Jekyll site on Mac OS.
Upon downloading Jekyll with gem install jekyll I am met with error:
current directory: /Users/main/.rvm/gems/ruby-3.0.0/gems/eventmachine-1.2.7/ext
make DESTDIR\= sitearchdir\=./.gem.20221106-46436-a98sx9 sitelibdir\=./.gem.20221106-46436-a98sx9
compiling binder.cpp
In file included from binder.cpp:20:
./project.h:119:10: fatal error: 'openssl/ssl.h' file not found
#include <openssl/ssl.h>
^~~~~~~~~~~~~~~
1 error generated.
make: *** [binder.o] Error 1
make failed, exit code 2
I am on MacOS Ventura 13.0.
openssl versionreturnsLibreSSL 3.3.6jekyll -vreturnscan't find gem jekyll (>= 0.a) with executable jekyll (Gem::GemNotFoundException)(obviously)ruby -vreturnsruby 3.0.0p0 (2020-12-25 revision 95aff21468) [x86_64-darwin22]gem -vreturns3.3.25bundle -vreturnsBundler version 2.3.25rvm listreturns=* ruby-3.0.0 [ x86_64 ]gem listreturns
rubygems-bundler (1.4.5)
rubygems-update (3.3.25, 3.0.0)
rvm (1.11.3.9)
... among other things. No Ruby version is listed.
I have attempted brew link --force openssl, so that I can run gem install event machine (with flags), but brew link --force openssl returns
If you need to have openssl@3 first in your PATH, run:
echo 'export PATH="/usr/local/opt/openssl@3/bin:$PATH"' >> ~/.zshrc
I ran that command, re-ran brew link --force openssl, and it returned the same error.
What do I do? Thank you for any help.