Library not loaded: /opt/local/lib/libssl.1.0.0.dylib (LoadError)

前端 未结 10 866
太阳男子
太阳男子 2020-11-29 04:39

I just discovered I can no longer gem push … any more and some digging led me to a need to update my RVM SSL certs.

I ran rvm osx-ssl-certs status

相关标签:
10条回答
  • 2020-11-29 04:57

    In my case an update with ReactJS + Node env screwed one rails project and after expending a lot of time either reinstalling ruby version via rbenv (was 2.5.1 BTW) and also reinstall openssl via homebrew, bundler reinstall (none of these worked) a simple

    brew update && brew upgrade

    did the trick!

    was running OSX and mojave

    0 讨论(0)
  • 2020-11-29 05:00

    I had a problem with the postgres gem pg and found this issue: https://github.com/ged/ruby-pg/issues/322

    This is what I did to fix it:

    brew reinstall postgresql
    
    0 讨论(0)
  • 2020-11-29 05:05

    In my case it was the Ruby version when bundling:

    I did:

    rvm list
    

    output:

       ruby-1.9.3-p448 [ x86_64 ]
       ruby-2.0.0-p247 [ x86_64 ]
       ruby-2.0.0-p353 [ x86_64 ]
       ruby-2.0.0-p451 [ x86_64 ]
    

    and then I changed to ruby-2.0.0-p451:

    rvm use ruby-2.0.0-p451
    

    and:

    bundle
    

    bundle was done successfully ;)

    0 讨论(0)
  • 2020-11-29 05:05
    sudo brew update && sudo brew upgrade
    

    worked for me

    0 讨论(0)
提交回复
热议问题