Skip to content

Instantly share code, notes, and snippets.

View andritcharthur's full-sized avatar

Andritch Arthur andritcharthur

View GitHub Profile
@andritcharthur
andritcharthur / older_ruby_install_instructions.txt
Last active March 16, 2022 02:25
Instructions for installing older version of Ruby (2.2.0) on Mac M1
Step 0: Cleanup any brew installations to clear things up
brew cleanup
Step 1: Install this dependency you'll need later on
brew install makedepend
Step 2: download openssl@1.0.rb file and save it your User folder
@andritcharthur
andritcharthur / openssl@1.0.rb
Created March 7, 2022 15:12
Patched openssl 1.0 for Mac M1
# Extraced from pre- https://github.com/Homebrew/homebrew-core/pull/46876
class OpensslAT10 < Formula
desc "SSL/TLS cryptography library"
homepage "https://openssl.org/"
url "https://www.openssl.org/source/openssl-1.0.2u.tar.gz"
mirror "https://www.mirrorservice.org/sites/ftp.openssl.org/source/openssl-1.0.2u.tar.gz"
sha256 "ecd0c6ffb493dd06707d38b14bb4d8c2288bb7033735606569d8f90f89669d16"
depends_on "makedepend"