troubles with RVM and OpenSSL

后端 未结 12 2317
暗喜
暗喜 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:39

    It's well described on ArchLinux wiki:

    Ruby versions older than 2.4 require OpenSSL 1.0 but RVM will try to build them with OpenSSL 1.1.

    So you can do (easiest):

    $ rvm pkg install openssl
    $ rvm reinstall 2.3.5 --with-openssl-dir=$HOME/.rvm/usr
    

    You can see more solutions on ArchLinux wiki.

提交回复
热议问题