Library not loaded: 'libssl.1.1.dylib' for older mysql2 gem
Error:
`require': dlopen(/Users/username/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/mysql2-0.4.10/lib/mysql2/mysql2.bundle, 0x0009):
Library not loaded: 'libssl.1.1.dylib'
Fix:
gem install mysql2 -v 0.4.10 -- --with-ldflags=-L/opt/homebrew/opt/openssl@1.1/lib --with-cppflags=-I/opt/homebrew/opt/openssl@1.1/include
AI Summary
Chrome On-device AI
2024-10-04 23:16:59
Share Article