LoginSignup
7
8

More than 5 years have passed since last update.

El Capitan (OSX 10.11)でpumaのインスールに失敗する場合の回避策

Last updated at Posted at 2015-11-11

概要

El Capitan (OSX 10.11)にアップデートしたらbundle installpumaのインストールにこけたので備忘録として残しておく。

エラー内容

一部抜粋

mini_ssl.c:3:10: fatal error: 'openssl/bio.h' file not found

解決方法

こちらのissueに解決方法の記載がありました。
どうも参照先のディレクトリがEl Capitanで変わったようなので、以下のコマンドを打ちます。

$ bundle config build.puma --with-opt-dir=/usr/local/opt/openssl

$ cat ~/.bundle/config
---
BUNDLE_BUILD__PUMA: "--with-opt-dir=/usr/local/opt/openssl"

再度bundle installすると今度は成功するはずです。

7
8
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
7
8