Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Need to specify `--with-opt-dir` on OSX 10.11 El Capitan. #718
Haven't had a change to dig into exactly what's going on but gem install fails on OSX 10.11 because it can't find some openssl headers.
If this is still an issue when 10.11 gets to beta 3 I will see if I can suggest a fix.
Figured it out. It's not in the 10.11 SDK but is in the 10.10 SDK. Appending the --with-opt-include option seems to work. For example:
If you are installing home-brew openssl it's a lot easier:
`gem install puma -- --with-opt-include=/usr/local/opt/openssl/include``
@evanphx is there any way to specify a default opt-include path? Seems like you could state that openssl via homebrew is a requirement for installing it on OS X or the user must manually manage it.