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

前端 未结 3 1193
独厮守ぢ
独厮守ぢ 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条回答
  •  暖寄归人
    2021-02-13 02:54

    there is issue with ruby version. Install latest

    brew install ruby
    

    below command will overwrite the previous version

    brew link --overwrite ruby
    

    close this terminal and open new terminal.check your version

    ruby -v
    

    check issue resolve or not

    ruby -r digest/sha1 -e 'p Digest::SHA1'
    

    expected output : Digest::SHA1

提交回复
热议问题