Skip to content

Instantly share code, notes, and snippets.

@Tzolkin
Last active January 23, 2020 16:37
Show Gist options
  • Save Tzolkin/2f8627d41263d83fcb0dd7595fe9c8fb to your computer and use it in GitHub Desktop.
Save Tzolkin/2f8627d41263d83fcb0dd7595fe9c8fb to your computer and use it in GitHub Desktop.
openssl@1.1 dependencies and I386 arch error

After update on mac 10.15.2 I got the following error:
/Users/tzolkin/.rbenv/versions/2.2.2/lib/ruby/2.2.0/digest.rb:15:in `const_missing': library not found for class Digest::SHA1 -- digest/sha1 (LoadError)

Steps

  1. Remove the rbenv old version
rbenv uninstall 2.2.0
  1. Install openssl@1.0
brew install rbenv/tap/openssl@1.0
  1. Finally
openssl-dir=$(brew --prefix openssl@1.0)" rbenv install 2.2.0

I386 arch error installing old scrypt gem version with OS X Mojave
https://visdup.blogspot.com/2018/12/i386-arch-error-installing-old-scrypt.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment