Skip to content

Instantly share code, notes, and snippets.

@slayer
Forked from josacar/gist:3767538
Last active December 17, 2015 07:19
Show Gist options
  • Save slayer/5572290 to your computer and use it in GitHub Desktop.
Save slayer/5572290 to your computer and use it in GitHub Desktop.
# export CFLAGS="-O2 -fno-tree-dce -fno-optimize-sibling-calls"
export CC=/usr/bin/gcc-4.4
require_gcc
build_package_disable_ssl2_tcmalloc() {
wget 'https://raw.github.com/gist/3767526/9f20aba9f0d8d232d08e14e754e620758330a8eb/gistfile1.diff'
patch -p1 < gistfile1.diff
wget 'https://raw.github.com/gist/3767768/7e6aa05e63c139475e5112c9d200b2d6c7d34511/gistfile1.diff'
patch -p1 < gistfile1.diff.1
}
install_package "ruby-enterprise-1.8.7-2011.03" "http://rubyenterpriseedition.googlecode.com/files/ruby-enterprise-1.8.7-2011.03.tar.gz" disable_ssl2_tcmalloc ree_installer
install_package "rubygems-1.6.2" "http://production.cf.rubygems.org/rubygems/rubygems-1.6.2.tgz" ruby
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment