Skip to content

Instantly share code, notes, and snippets.

@fgrehm
Created August 14, 2012 01:46

Revisions

  1. fgrehm revised this gist Aug 14, 2012. 1 changed file with 2 additions and 2 deletions.
    4 changes: 2 additions & 2 deletions ree-1.8.7-2011.03
    Original file line number Diff line number Diff line change
    @@ -3,10 +3,10 @@ build_package_patched() {
    cd source
    wget 'https://github.com/wayneeseguin/rvm/raw/master/patches/ree/1.8.7/tcmalloc.patch'
    wget 'https://github.com/wayneeseguin/rvm/raw/master/patches/ree/1.8.7/stdout-rouge-fix.patch'
    # already applied?!: wget 'https://github.com/wayneeseguin/rvm/raw/master/patches/ree/1.8.7/no_sslv2.diff'
    wget 'https://github.com/wayneeseguin/rvm/raw/master/patches/ree/1.8.7/no_sslv2.diff'
    patch -p1 < tcmalloc.patch
    patch -p1 < stdout-rouge-fix.patch
    # patch -p1 < no_sslv2.diff
    patch -p1 < no_sslv2.diff
    cd ..
    }

  2. fgrehm revised this gist Aug 14, 2012. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion ree-1.8.7-2011.03
    Original file line number Diff line number Diff line change
    @@ -12,4 +12,4 @@ build_package_patched() {

    require_gcc
    install_package "ruby-enterprise-1.8.7-2011.03" "http://rubyenterpriseedition.googlecode.com/files/ruby-enterprise-1.8.7-2011.03.tar.gz" patched ree_installer
    install_package "rubygems-1.6.2" "http://production.cf.rubygems.org/rubygems/rubygems-1.6.2.tgz" ruby
    install_package "rubygems-1.8.24" "http://production.cf.rubygems.org/rubygems/rubygems-1.8.24.tgz" ruby
  3. fgrehm created this gist Aug 14, 2012.
    15 changes: 15 additions & 0 deletions ree-1.8.7-2011.03
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,15 @@
    build_package_patched() {
    # These three patches are included when RVM builds REE
    cd source
    wget 'https://github.com/wayneeseguin/rvm/raw/master/patches/ree/1.8.7/tcmalloc.patch'
    wget 'https://github.com/wayneeseguin/rvm/raw/master/patches/ree/1.8.7/stdout-rouge-fix.patch'
    # already applied?!: wget 'https://github.com/wayneeseguin/rvm/raw/master/patches/ree/1.8.7/no_sslv2.diff'
    patch -p1 < tcmalloc.patch
    patch -p1 < stdout-rouge-fix.patch
    # patch -p1 < no_sslv2.diff
    cd ..
    }

    require_gcc
    install_package "ruby-enterprise-1.8.7-2011.03" "http://rubyenterpriseedition.googlecode.com/files/ruby-enterprise-1.8.7-2011.03.tar.gz" patched ree_installer
    install_package "rubygems-1.6.2" "http://production.cf.rubygems.org/rubygems/rubygems-1.6.2.tgz" ruby
    14 changes: 14 additions & 0 deletions ree-1.8.7-2012.02
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,14 @@
    build_package_patched() {
    # These three patches are included when RVM builds REE
    cd source
    wget 'https://github.com/wayneeseguin/rvm/raw/master/patches/ree/1.8.7/tcmalloc.patch'
    wget 'https://github.com/wayneeseguin/rvm/raw/master/patches/ree/1.8.7/stdout-rouge-fix.patch'
    # already applied?!: wget 'https://github.com/wayneeseguin/rvm/raw/master/patches/ree/1.8.7/no_sslv2.diff'
    patch -p1 < tcmalloc.patch
    patch -p1 < stdout-rouge-fix.patch
    # patch -p1 < no_sslv2.diff
    cd ..
    }

    require_gcc
    install_package "ruby-enterprise-1.8.7-2012.02" "http://rubyenterpriseedition.googlecode.com/files/ruby-enterprise-1.8.7-2012.02.tar.gz" patched ree_installer