Skip to content

Instantly share code, notes, and snippets.

@tuliren
Last active January 5, 2020 19:33
Show Gist options
  • Save tuliren/c48359ba133feeee14369b153e8f2bb4 to your computer and use it in GitHub Desktop.
Save tuliren/c48359ba133feeee14369b153e8f2bb4 to your computer and use it in GitHub Desktop.
  • Install Ruby with openssl 1.0

    brew switch openssl 1.0.2s
    export PATH="/usr/local/opt/[email protected]/bin:$PATH"
    export LDFLAGS="-L/usr/local/opt/[email protected]/lib ${LDFLAGS}"
    export CPPFLAGS="-I/usr/local/opt/[email protected]/include ${CPPFLAGS}"
    RUBY_CONFIGURE_OPTS=--with-openssl-dir=/usr/local/Cellar/openssl/1.0.2s/ rbenv install 2.3.0
  • Fix and use libxml2

    brew install libxml2
    sudo ln -s /usr/local/opt/libxml2/include/libxml2/libxml /usr/local/include/libxml
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment