today I tried to install a new Ruby version through RVM, which triggered a brew update where a new email@example.com version was installed and now I am unable to:
reinstall an old version of Ruby through RVM
$ rvm reinstall 1.8.7-p374 does not work and throws:
Error running 'env CFLAGS=-I/usr/local/opt/libyaml/include -I/usr/local/opt/readline/include -I/usr/local/opt/libksba/include -Ifirstname.lastname@example.org/include -O2 -fno-tree-dce -fno-optimize-sibling-calls LDFLAGS=-L/usr/local/opt/libyaml/lib -L/usr/local/opt/readline/lib -L/usr/local/opt/libksba/lib -Lemail@example.com/lib ./configure --prefix=/Users/MyAccount/.rvm/rubies/ruby-1.8.7-p374 --without-tcl --without-tk --disable-install-doc --enable-shared', please read /Users/MyAccount/.rvm/log/1578049283_ruby-1.8.7-p374/configure.log There has been an error while running configure. Halting the installation.
$ rails s does not work and throws:
[~]$ rails s /Users/MyAccount/.rvm/rubies/ruby-x/lib/ruby/x/..../openssl.bundle: dlopen(/Users/MyAccount/.rvm/rubies/ruby-x/lib/ruby/x/..../openssl.bundle, 9): Library not loaded: /usr/local/opt/openssl/lib/libssl.1.0.0.dylib (LoadError) Referenced from: /Users/MyAccount/.rvm/rubies/ruby-x/lib/ruby/x/..../openssl.bundle/openssl.bundle Reason: image not found - /Users/MyAccount/.rvm/rubies/ruby-x/lib/ruby/x/..../openssl.bundle/openssl.bundle
I had to copy the content from
/usr/local/Cellarfirstname.lastname@example.org/1.1.1d but that is not ideal.
I have added more details in a question on stackoverflow: Brew update breaks openssl
What did happen? How can I get the updated version of openssl to work?