gem eventmachine fatal error: 'openssl/ssl.h' file not found

后端 未结 9 2379
时光说笑
时光说笑 2020-12-02 04:01

Just installed El Capitan and can\'t install gem eventmachine 1.0.7. openssl is at 1.0.2a-1. Tried to use --with-ss

9条回答
  •  情歌与酒
    2020-12-02 04:34

    I was trying to install v 1.0.3 and this worked for me.

    gem install eventmachine -v '1.0.3' -- --with-cppflags=-I/usr/local/opt/openssl/include
    

    These discussions were very helpful. https://github.com/eventmachine/eventmachine/issues/602

提交回复
热议问题