DEV Community

Cover image for Install Ruby older versions with Openssl@1.0
Mihir Lathiya
Mihir Lathiya

Posted on

4

Install Ruby older versions with Openssl@1.0

prerequisite:

  • RVM

run this command:

brew install rbenv/tap/openssl@1.0

PKG_CONFIG_PATH=/usr/local/Cellar/openssl@1.0/1.0.2t/lib/pkgconfig \
rvm install 2.3.8 \
--with-openssl-dir=/usr/local/Cellar/openssl@1.0/1.0.2t \
--with-openssl-lib=/usr/local/Cellar/openssl@1.0/1.0.2t/lib \
--with-openssl-include=/usr/local/Cellar/openssl@1.0/1.0.2t/include --rubygems ignore
Enter fullscreen mode Exit fullscreen mode

this will add openssl@1.0 and install ruby 2.3.8 version
you can change the version if you want here i've used 2.3.8

done, enjoy.

Top comments (0)

AWS Security LIVE!

Join us for AWS Security LIVE!

Discover the future of cloud security. Tune in live for trends, tips, and solutions from AWS and AWS Partners.

Learn More

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay