This file contains hidden or 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
#!/bin/sh | |
# The main issues with Ruby 1.8.7 are that it won't build with Clang, | |
# and the Net::HTTPS module won't work with modern versions of OpenSSL. | |
# | |
# This assumes you have already set up homebrew, and run: xcode-select --install | |
brew install homebrew/dupes/apple-gcc42 | |
brew install libyaml libffi | |
brew install https://github.com/Homebrew/homebrew-versions/raw/586b7e9012a3ed1f9df6c43d0483c65549349289/openssl098.rb | |
export CC=/usr/local/bin/gcc-4.2 |