I'm attempting to install jekyll and I've encountered an error. I'm running Mac OS X 10.11.4 (El Capitan).
$gem install jekyll
ERROR : While executing gem ... (Gem::Exception)
Unable to require openssl, install OpenSSL and rebuild ruby (preferred) or use non-HTTPS sources
$gem source -l
https://ruby.taobao.org
$which openssl
/usr/local/bin/openssl
I welcome your suggestions how to resolve this error.
rvm pkg install opensslandrvm install 2.5.3 --with-openssl-dir=$rvm_path/usras described in this postrvm reinstall ruby-3.3.6 --with-openssl-dir=brew --prefix [email protected]`` Worked for me