Skip to content

Instantly share code, notes, and snippets.

@eendroroy
Last active August 6, 2017 19:36
Show Gist options
  • Save eendroroy/e03f7f72129450f2ffab8c0c434aa4c6 to your computer and use it in GitHub Desktop.
Save eendroroy/e03f7f72129450f2ffab8c0c434aa4c6 to your computer and use it in GitHub Desktop.
---
BUNDLE_PATH: "vendor"
BUNDLE_DISABLE_SHARED_GEMS: "true"
BUNDLE_BUILD__LIBV8: "--with-system-v8"
BUNDLE_BUILD__PUMA: "--with-opt-dir=/usr/local/opt/openssl"
BUNDLE_BUILD__EVENTMACHINE: "--with-cppflags=-I/usr/local/opt/openssl/include --with-ldflags=-I/usr/local/opt/openssl/lib"
bundle config --local path vendor
bundle config --local build.libv8 --with-system-v8
bundle config --local build.puma --with-opt-dir=$(brew --prefix openssl)
bundle config --local build.eventmachine --with-cppflags=-I$(brew --prefix openssl)/include --with-ldflags=-I$(brew --prefix openssl)/lib
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment