Skip to content

Instantly share code, notes, and snippets.

@darkman66
Created July 28, 2020 08:36
Show Gist options
  • Save darkman66/240195c291895db6b778c11735edaeb8 to your computer and use it in GitHub Desktop.
Save darkman66/240195c291895db6b778c11735edaeb8 to your computer and use it in GitHub Desktop.
#!/bin/sh
brew install rbenv/tap/openssl@1.0
brew install bison@2.7
OPENSSL_1_0_DIR=$(brew --prefix rbenv/tap/openssl@1.0)
alias bison="/usr/local/opt/bison@2.7/bin/bison"
export CPPFLAGS=-I${OPENSSL_1_0_DIR}/include
export LDFLAGS=-L${OPENSSL_1_0_DIR}/lib
rvm install "ruby-2.1.9" -- --with-openssl-dir=${OPENSSL_1_0_DIR}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment