> ## Content Index
> Fetch the complete content index at: https://til.codes/llms.txt
> Use this file to discover other available public pages before exploring further.

# Problem installing puma on OS X with openssl
- URL: https://til.codes/problem-installing-puma-on-os-x-with-openssl/
- Published: 2015-11-17T19:11:17.000Z
- Updated: 2015-11-17T19:12:22.000Z
- Author: Manu Ajith
- Tags: ruby, gem, osx, puma, El Capitan, rubygems, #Import 2024-07-13 21:01

When installing puma on OSX 10.11 El Capitan, if you are facing issues compiling mini\_ssl.c

```
fatal error: 'openssl/bio.h' file not found.

```

all you need to do is to specify

```
--with-opt-dir

```

You can make this applicable for all your Gemfiles:

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

```

Thanks to [Jeremy](https://github.com/jeremy?ref=til.codes) for [this](https://github.com/puma/puma/issues/718?ref=til.codes#issuecomment-139624081)