Skip to content

Instantly share code, notes, and snippets.

@sebasjimenez10
Created October 20, 2016 02:21
Show Gist options
  • Save sebasjimenez10/48984471080ac59a85d1b9d98ace1deb to your computer and use it in GitHub Desktop.
Save sebasjimenez10/48984471080ac59a85d1b9d98ace1deb to your computer and use it in GitHub Desktop.
gem install eventmachine -- --with-cppflags=-I/usr/local/opt/openssl/include
# Building native extensions with: '--with-cppflags=-I/usr/local/opt/openssl/include'
# This could take a while...
# Successfully installed eventmachine-1.0.8
# 1 gem installed
# You can also set up bundler like this but I think that is superficial
bundle config build.eventmachine --with-cppflags=-I/usr/local/opt/openssl/include
# And then run
bundle install
# Extracted from: http://stackoverflow.com/questions/30818391/gem-eventmachine-fatal-error-openssl-ssl-h-file-not-found
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment