Can't install Jekyll - "fatal error: 'openssl/ssl.h' file not found"

Do you have the perquisites installed?

Also I created this video that shows how to install Jekyll on a Mac (it says Apple Silicon but works on Intel Macs as well):

Or if you don’t want to deal with installing Ruby and putting all this code on your computer, you can use Docker containers which is what I do on my Mac nowadays: