This site does not allow itself to be embedded. You can still read it on the original site — the toolbar below keeps your place in the directory.
Some Ruby features like scrypt and hkdf require OpenSSL 1.1. Here’s how to make it work on Mac: Install rbenv and OpenSSL 1.1 brew install rbenv ruby-build openssl@1.1 Install Ruby RUBY_CONFIGURE_OPTS="--with-openssl-dir=/usr/local/opt/openssl@1.1" \ rbenv install 2.6.3 Open an interactive shell to confirm it worked rbenv shell 2.6.3 irb And run require "openssl" OpenSSL::OPENSSL_VERSION…
Some Ruby features like scrypt and hkdf require OpenSSL 1.1. Here’s how to make it work on Mac:
Install rbenv and OpenSSL 1.1
brew install rbenv ruby-build openssl@1.1
Install Ruby
RUBY_CONFIGURE_OPTS="--with-openssl-dir=/usr/local/opt/openssl@1.1" \
rbenv install 2.6.3
Open an interactive shell to confirm it worked
rbenv shell 2.6.3
irb
And run
require "openssl"
OpenSSL::OPENSSL_VERSION
OpenSSL::KDF.methods - Object.methods
Comments
Nothing yet. Say the first thing.
Sign in to join the conversation.