Skip to content

Homebrew formula to install [email protected] on silicon mac 2023 compatible with M2 MacBook Air & M1 MacBook pro

Notifications You must be signed in to change notification settings

aarishgilani/openssl-1.0

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

The file is copied from felixbuenemann/openssl-1.0.2u-darwin-arm64.patch. The patch backlinks to [email protected] and creats a work around to for the package to be compiled on Mac's flavour of CLang. I had to install [email protected] to be able to install older 2.3.x versions of Ruby.

Flowing are the steps to install Ruby 2.3.1 on Silicon Mac

  • Download the [email protected] formulae

  • Install it using: brew install ~/Downloads/[email protected]

  • Once the installation finishes install Ruby using using rvm, I am using rvm after banging my head with rbenv and running into issues with gems but nevertheless rbenv works fine as well.

  • CPPFLAGS=-DUSE_FFI_CLOSURE_ALLOC rvm_rubygems_version=2.7.3 rvm reinstall ruby-2.3.1 --with-openssl-dir=/usr/local/Cellar/[email protected]/1.0.2u --with-openssl-lib=/usr/local/Cellar/[email protected]/1.0.2u/lib --with-openssl-include=/usr/local/Cellar/[email protected]/1.0.2u/include

  • Once the installation finishes, run rvm list and there you have it. It however show [broken] next to the version but it still worked fine for me.

    Good Luck!

About

Homebrew formula to install [email protected] on silicon mac 2023 compatible with M2 MacBook Air & M1 MacBook pro

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages