OpenSSL error installing ruby 2.0.0-p195 on Mac with rbenv

后端 未结 7 1348
别那么骄傲
别那么骄傲 2021-02-04 06:05

I\'m trying to install Ruby 2.0.0-p195 using rbenv on a Mac (Mountain Lion) and got this error.

BUILD FAILED

Inspect or clean up the working tree at /var/folde         


        
7条回答
  •  长发绾君心
    2021-02-04 06:46

    Solution using ruby-install:

    After uninstalling and installing openssl a couple of times (probably unnecessary) I successfully tried this:

    ruby-install ruby 2.1.3 -- --with-openssl-dir=`brew --prefix openssl`
    

提交回复
热议问题