LoadError - library not found for class Digest::SHA1 — digest/sha1

前端 未结 3 1191
独厮守ぢ
独厮守ぢ 2021-02-13 02:07

When running pod install it runs into a problem when installing yoga. Seems to be a problem with my ruby environment?

$ pod install
Ana         


        
3条回答
  •  闹比i
    闹比i (楼主)
    2021-02-13 03:01

    Since this worked me, I am posting it as a comment.

    After running

    rbenv uninstall 2.5.1
    

    if the below command is giving you an error (with ruby not installing)

    rbenv install 2.5.1
    

    maybe run this (for mac path)

    RUBY_CONFIGURE_OPTS=--with-openssl-dir=/usr/local/Cellar/openssl/1.0.2q rbenv install 2.3.5
    

提交回复
热议问题