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

后端 未结 9 2366
时光说笑
时光说笑 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:18

    When using bundler and homebrew:

    $ bundle config build.eventmachine --with-cppflags=-I$(brew --prefix openssl)/include
    $ bundle install
    

提交回复
热议问题