Last active
December 20, 2015 16:59
-
-
Save catharinejm/6165366 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
set -e | |
curl -L https://github.com/Originate/heroku-ruby200p247-openssl101e/raw/master/openssl-1.0.1e.tgz > /tmp/openssl-1.0.1e.tgz | |
mkdir -p /app/vendor/openssl | |
tar zxf /tmp/openssl-1.0.1e.tgz -C /app/vendor/openssl | |
mkdir -p /app/vendor/ruby | |
autoconf | |
CFLAGS='-I/app/vendor/openssl/include' LDFLAGS='-L/app/vendor/openssl/lib' ./configure --prefix=/app/vendor/ruby --enable-shared --with-opt-dir=/app/vendor/openssl --disable-install-doc --disable-install-rdoc | |
make install |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment