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

后端 未结 6 1930
死守一世寂寞
死守一世寂寞 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:56

    In my case just uninstalling and installing the mysql2 gem did the trick

    $ gem uninstall mysql2
    
    $ bundle install 
    > Fetching mysql2 0.4.10
    > Installing mysql2 0.4.10 with native extensions
    

提交回复
热议问题