Skip to content

Instantly share code, notes, and snippets.

@sondnm
Created November 14, 2017 08:26
Show Gist options
  • Save sondnm/4832158e47bb30e4c3147a1b13bf068c to your computer and use it in GitHub Desktop.
Save sondnm/4832158e47bb30e4c3147a1b13bf068c to your computer and use it in GitHub Desktop.
Install gem requiring openssl on OSX

With gem install

$ gem install eventmachine -v '1.0.7' --with-cppflags=-I/usr/local/opt/openssl/include

With bundler:

  • Make sure you have bundle config file ~/.bundle/config
  • Add options when building gem
$ bundle config build.eventmachine --with-cppflags=-I/usr/local/opt/openssl/include
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment