/ ruby

Problem installing puma on OS X with openssl

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 for this

Manu S Ajith

Manu S Ajith

Tech Entrepreneur, dating Elixir, in long-term ❤️ w/ Ruby, had multiple one night stands w/ Go. Into functional paradigms DDD/CQRS/EventSourcing architecture these days. @manusajith on the interwebs

Read More