Skip to content

Instantly share code, notes, and snippets.

@bencao
Created April 17, 2015 05:59
Show Gist options
  • Save bencao/32bf9c69c606e2b58666 to your computer and use it in GitHub Desktop.
Save bencao/32bf9c69c606e2b58666 to your computer and use it in GitHub Desktop.
build_package_ree_patch() {
curl -L https://gist.githubusercontent.com/bencao/c6d548c29cbaedf20918/raw/3534ffc8eee7d83c18b1b25affbc8e7f365ffeb6/ree-1.8.7-2011.12.patch > /tmp/ree-1.8.7-2011.12.patch
patch -p1 < /tmp/ree-1.8.7-2011.12.patch
}
require_gcc
install_package "ruby-enterprise-1.8.7-2011.12" "http://rubyenterpriseedition.googlecode.com/files/ruby-enterprise-1.8.7-2011.12.tar.gz#9a8efc4befc136e17a1360de549aac9e79283c7238a13215350720e4393c5da2" ree_patch ree_installer
install_package "rubygems-1.6.2" "http://production.cf.rubygems.org/rubygems/rubygems-1.6.2.tgz#cb5261818b931b5ea2cb54bc1d583c47823543fcf9682f0d6298849091c1cea7" ruby
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment