troubles with RVM and OpenSSL

后端 未结 12 2357
暗喜
暗喜 2020-12-08 01:32

Trying to set up a new macbook for a colleague. Not going well.

First I install OpenSSL:

Heathers-MacBook-Pro:~ heather$ rvm pkg install openssl
F         


        
12条回答
  •  刺人心
    刺人心 (楼主)
    2020-12-08 01:50

    On MacOS 10.12.2 installing openssl via brew, won't work. To fix it, run:

    export PKG_CONFIG_PATH=/usr/local/opt/openssl/lib/pkgconfig:/usr/local/lib/pkgconfig
    

    And then install Ruby via rvm.

    EDIT: More information about the reason behind the problem here.

提交回复
热议问题