you probably want this instead: https://gist.github.com/jjb/6928376
Last active
May 8, 2020 05:44
-
-
Save jjb/2315629 to your computer and use it in GitHub Desktop.
How to install ruby 1.9.3 on OS X with macports
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
# If you are using macports and install ruby 1.9.3, you might experience | |
# segfaults when accessing https URLs, because the build somehow ends up | |
# referencing two different openssl librareis (I think?). | |
# | |
# Here is the solution. | |
# I can't remember which is necessary, do both for good measure | |
export CONFIGURE_OPTS="--with-openssl-dir=/opt/local" | |
CONFIGURE_OPTS="--with-openssl-dir=/opt/local" | |
# now you can install your ruby like normal | |
rbenv install 1.9.3 | |
# OR the tweaked-out patched version: | |
# https://gist.github.com/3885178 | |
curl https://raw.github.com/gist/3885178/rbenv.sh | sh |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment