rake db:migrate error with mysql2 gem - Library not loaded: libssl.1.0.0.dylib

后端 未结 6 1923
死守一世寂寞
死守一世寂寞 2020-12-30 08:22

Getting the following error after running rake db:migrate

rake aborted!
LoadError: dlopen(/Users/scott/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/mysql2-         


        
6条回答
  •  粉色の甜心
    2020-12-30 08:39

    Following fix solves the issue

       ==> cd /usr/local/Cellar/openssl/1.0.2s/lib/
    
    ==> sudo cp libssl.1.0.0.dylib libcrypto.1.0.0.dylib /usr/local/lib
    

提交回复
热议问题