Skip to content

Instantly share code, notes, and snippets.

@muhammadkholidb
Last active May 12, 2020 02:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save muhammadkholidb/a7d2f30c4a1052065f4c2fd6acaea43b to your computer and use it in GitHub Desktop.
Save muhammadkholidb/a7d2f30c4a1052065f4c2fd6acaea43b to your computer and use it in GitHub Desktop.
// Install openssl 1.0.0
brew install https://github.com/tebelorg/Tump/releases/download/v1.0.0/openssl.rb
rvm install 2.1 --with-openssl-dir=/usr/local/opt/openssl
brew install v8@3.15
bundle config build.libv8 --with-system-v8
bundle config build.therubyracer --with-v8-dir=/usr/local/opt/v8@3.15
bundle config build.pg --with-pg-config=/Applications/Postgres.app/Contents/Versions/9.6/bin/pg_config
bundle config build.puma --with-opt-dir=/usr/local/opt/openssl
Helpful articles:
https://www.theguild.nl/installing-nokogiri-libv8-therubyracer-on-os-x/
http://jorge.caballeromurillo.com/installing-pg-gem-with-the-postgres-app/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment