Skip to content

Instantly share code, notes, and snippets.

@ralph
Forked from jhbabon/2.1.0-railsexpress
Last active March 21, 2016 10:17
Show Gist options
  • Select an option

  • Save ralph/4ae06c6a7c3399e6110d to your computer and use it in GitHub Desktop.

Select an option

Save ralph/4ae06c6a7c3399e6110d to your computer and use it in GitHub Desktop.

Revisions

  1. Ralph von der Heyden revised this gist Aug 25, 2015. 1 changed file with 15 additions and 0 deletions.
    15 changes: 15 additions & 0 deletions 2.2.3-railsexpress
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,15 @@
    build_package_reconfigure() {
    test -f configure || autoconf
    }

    build_package_patch_ruby_railsexpress() {
    fetch_git rvm-patchsets git://github.com/skaes/rvm-patchsets.git master

    patch -p1 < rvm-patchsets/patches/ruby/2.2.3/railsexpress/01-zero-broken-tests.patch
    patch -p1 < rvm-patchsets/patches/ruby/2.2.3/railsexpress/02-improve-gc-stats.patch
    patch -p1 < rvm-patchsets/patches/ruby/2.2.3/railsexpress/03-display-more-detailed-stack-trace.patch
    }


    install_package "openssl-1.0.2c" "https://www.openssl.org/source/openssl-1.0.2c.tar.gz" mac_openssl --if has_broken_mac_openssl
    install_package "ruby-2.2.3" "http://cache.ruby-lang.org/pub/ruby/2.2/ruby-2.2.3.tar.gz" reconfigure patch_ruby_railsexpress ldflags_dirs standard verify_openssl
  2. Ralph von der Heyden revised this gist Jun 19, 2015. 2 changed files with 8 additions and 1 deletion.
    5 changes: 5 additions & 0 deletions 1-railsexpress-rbenv-patches
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,5 @@
    run:

    rbenv install ./2.2.2-railsexpress

    or edit install.sh to include the RUBY_VERSION you want to install and run the script.
    4 changes: 3 additions & 1 deletion install.sh
    Original file line number Diff line number Diff line change
    @@ -1,5 +1,7 @@
    #!/usr/bin/env bash

    RUBY_VERSION=2.2.2

    if command -v brew > /dev/null
    then
    if brew --prefix openssl > /dev/null
    @@ -14,4 +16,4 @@ then
    fi

    echo "==> Installing ruby version:"
    rbenv install ./2.2.2-railsexpress
    rbenv install ./${RUBY_VERSION}-railsexpress
  3. ralph revised this gist Jun 19, 2015. 1 changed file with 0 additions and 4 deletions.
    4 changes: 0 additions & 4 deletions railsexpress
    Original file line number Diff line number Diff line change
    @@ -1,4 +0,0 @@
    railsexpress/01-zero-broken-tests.patch
    railsexpress/02-improve-gc-stats.patch
    railsexpress/03-display-more-detailed-stack-trace.patch
    railsexpress/04-backported-bugfixes-222.patch
  4. Ralph von der Heyden revised this gist Jun 19, 2015. 7 changed files with 103 additions and 1 deletion.
    22 changes: 22 additions & 0 deletions 2.1.2-railsexpress
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,22 @@
    build_package_reconfigure() {
    test -f configure || autoconf
    }

    build_package_patch_ruby_railsexpress() {
    fetch_git rvm-patchsets git://github.com/skaes/rvm-patchsets.git master

    patch -p1 < rvm-patchsets/patches/ruby/2.1.2/railsexpress/01-zero-broken-tests.patch
    patch -p1 < rvm-patchsets/patches/ruby/2.1.2/railsexpress/02-improve-gc-stats.patch
    patch -p1 < rvm-patchsets/patches/ruby/2.1.2/railsexpress/03-display-more-detailed-stack-trace.patch
    patch -p1 < rvm-patchsets/patches/ruby/2.1.2/railsexpress/04-show-full-backtrace-on-stack-overflow.patch
    patch -p1 < rvm-patchsets/patches/ruby/2.1.2/railsexpress/05-fix-missing-c-return-event.patch
    patch -p1 < rvm-patchsets/patches/ruby/2.1.2/railsexpress/06-backport-006e66b6680f60adfb434ee7397f0dbc77de7873.patch
    patch -p1 < rvm-patchsets/patches/ruby/2.1.2/railsexpress/07-funny-falcon-stc-density.patch
    patch -p1 < rvm-patchsets/patches/ruby/2.1.2/railsexpress/08-funny-falcon-stc-pool-allocation.patch
    patch -p1 < rvm-patchsets/patches/ruby/2.1.2/railsexpress/09-aman-opt-aset-aref-str.patch
    patch -p1 < rvm-patchsets/patches/ruby/2.1.2/railsexpress/10-funny-falcon-method-cache.patch
    }


    install_package "openssl-1.0.1j" "https://www.openssl.org/source/openssl-1.0.1j.tar.gz#1b60ca8789ba6f03e8ef20da2293b8dc131c39d83814e775069f02d26354edf3" mac_openssl --if has_broken_mac_openssl
    install_package "ruby-2.1.2" "http://cache.ruby-lang.org/pub/ruby/2.1/ruby-2.1.2.tar.gz#f22a6447811a81f3c808d1c2a5ce3b5f5f0955c68c9a749182feb425589e6635" reconfigure patch_ruby_railsexpress ldflags_dirs standard verify_openssl
    20 changes: 20 additions & 0 deletions 2.1.4-railsexpress
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,20 @@
    build_package_reconfigure() {
    test -f configure || autoconf
    }

    build_package_patch_ruby_railsexpress() {
    fetch_git rvm-patchsets git://github.com/skaes/rvm-patchsets.git master

    patch -p1 < rvm-patchsets/patches/ruby/2.1.4/railsexpress/01-zero-broken-tests.patch
    patch -p1 < rvm-patchsets/patches/ruby/2.1.4/railsexpress/02-improve-gc-stats.patch
    patch -p1 < rvm-patchsets/patches/ruby/2.1.4/railsexpress/03-display-more-detailed-stack-trace.patch
    patch -p1 < rvm-patchsets/patches/ruby/2.1.4/railsexpress/04-show-full-backtrace-on-stack-overflow.patch
    patch -p1 < rvm-patchsets/patches/ruby/2.1.4/railsexpress/05-funny-falcon-stc-density.patch
    patch -p1 < rvm-patchsets/patches/ruby/2.1.4/railsexpress/06-funny-falcon-stc-pool-allocation.patch
    patch -p1 < rvm-patchsets/patches/ruby/2.1.4/railsexpress/07-aman-opt-aset-aref-str.patch
    patch -p1 < rvm-patchsets/patches/ruby/2.1.4/railsexpress/08-funny-falcon-method-cache.patch
    }


    install_package "openssl-1.0.1j" "https://www.openssl.org/source/openssl-1.0.1j.tar.gz" mac_openssl --if has_broken_mac_openssl
    install_package "ruby-2.1.4" "http://cache.ruby-lang.org/pub/ruby/2.1/ruby-2.1.4.tar.gz" reconfigure patch_ruby_railsexpress ldflags_dirs standard verify_openssl
    20 changes: 20 additions & 0 deletions 2.1.5-railsexpress
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,20 @@
    build_package_reconfigure() {
    test -f configure || autoconf
    }

    build_package_patch_ruby_railsexpress() {
    fetch_git rvm-patchsets git://github.com/skaes/rvm-patchsets.git master

    patch -p1 < rvm-patchsets/patches/ruby/2.1.5/railsexpress/01-zero-broken-tests.patch
    patch -p1 < rvm-patchsets/patches/ruby/2.1.5/railsexpress/02-improve-gc-stats.patch
    patch -p1 < rvm-patchsets/patches/ruby/2.1.5/railsexpress/03-display-more-detailed-stack-trace.patch
    patch -p1 < rvm-patchsets/patches/ruby/2.1.5/railsexpress/04-show-full-backtrace-on-stack-overflow.patch
    patch -p1 < rvm-patchsets/patches/ruby/2.1.5/railsexpress/05-funny-falcon-stc-density.patch
    patch -p1 < rvm-patchsets/patches/ruby/2.1.5/railsexpress/06-funny-falcon-stc-pool-allocation.patch
    patch -p1 < rvm-patchsets/patches/ruby/2.1.5/railsexpress/07-aman-opt-aset-aref-str.patch
    patch -p1 < rvm-patchsets/patches/ruby/2.1.5/railsexpress/08-funny-falcon-method-cache.patch
    }


    install_package "openssl-1.0.1j" "https://www.openssl.org/source/openssl-1.0.1j.tar.gz" mac_openssl --if has_broken_mac_openssl
    install_package "ruby-2.1.5" "http://cache.ruby-lang.org/pub/ruby/2.1/ruby-2.1.5.tar.gz" reconfigure patch_ruby_railsexpress ldflags_dirs standard verify_openssl
    20 changes: 20 additions & 0 deletions 2.1.6-railsexpress
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,20 @@
    build_package_reconfigure() {
    test -f configure || autoconf
    }

    build_package_patch_ruby_railsexpress() {
    fetch_git rvm-patchsets git://github.com/skaes/rvm-patchsets.git master

    patch -p1 < rvm-patchsets/patches/ruby/2.1.6/railsexpress/01-zero-broken-tests.patch
    patch -p1 < rvm-patchsets/patches/ruby/2.1.6/railsexpress/02-improve-gc-stats.patch
    patch -p1 < rvm-patchsets/patches/ruby/2.1.6/railsexpress/03-display-more-detailed-stack-trace.patch
    patch -p1 < rvm-patchsets/patches/ruby/2.1.6/railsexpress/04-show-full-backtrace-on-stack-overflow.patch
    patch -p1 < rvm-patchsets/patches/ruby/2.1.6/railsexpress/05-funny-falcon-stc-density.patch
    patch -p1 < rvm-patchsets/patches/ruby/2.1.6/railsexpress/06-funny-falcon-stc-pool-allocation.patch
    patch -p1 < rvm-patchsets/patches/ruby/2.1.6/railsexpress/07-aman-opt-aset-aref-str.patch
    patch -p1 < rvm-patchsets/patches/ruby/2.1.6/railsexpress/08-funny-falcon-method-cache.patch
    }


    install_package "openssl-1.0.1j" "https://www.openssl.org/source/openssl-1.0.1j.tar.gz" mac_openssl --if has_broken_mac_openssl
    install_package "ruby-2.1.6" "http://cache.ruby-lang.org/pub/ruby/2.1/ruby-2.1.6.tar.gz" reconfigure patch_ruby_railsexpress ldflags_dirs standard verify_openssl
    16 changes: 16 additions & 0 deletions 2.2.2-railsexpress
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,16 @@
    build_package_reconfigure() {
    test -f configure || autoconf
    }

    build_package_patch_ruby_railsexpress() {
    fetch_git rvm-patchsets git://github.com/skaes/rvm-patchsets.git master

    patch -p1 < rvm-patchsets/patches/ruby/2.2.2/railsexpress/01-zero-broken-tests.patch
    patch -p1 < rvm-patchsets/patches/ruby/2.2.2/railsexpress/02-improve-gc-stats.patch
    patch -p1 < rvm-patchsets/patches/ruby/2.2.2/railsexpress/03-display-more-detailed-stack-trace.patch
    patch -p1 < rvm-patchsets/patches/ruby/2.2.2/railsexpress/04-backported-bugfixes-222.patch
    }


    install_package "openssl-1.0.2c" "https://www.openssl.org/source/openssl-1.0.2c.tar.gz" mac_openssl --if has_broken_mac_openssl
    install_package "ruby-2.2.2" "http://cache.ruby-lang.org/pub/ruby/2.2/ruby-2.2.2.tar.gz" reconfigure patch_ruby_railsexpress ldflags_dirs standard verify_openssl
    2 changes: 1 addition & 1 deletion install.sh
    Original file line number Diff line number Diff line change
    @@ -14,4 +14,4 @@ then
    fi

    echo "==> Installing ruby version:"
    rbenv install ./2.1.0-railsexpress
    rbenv install ./2.2.2-railsexpress
    4 changes: 4 additions & 0 deletions railsexpress
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,4 @@
    railsexpress/01-zero-broken-tests.patch
    railsexpress/02-improve-gc-stats.patch
    railsexpress/03-display-more-detailed-stack-trace.patch
    railsexpress/04-backported-bugfixes-222.patch
  5. @jhbabon jhbabon revised this gist Mar 26, 2014. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions 2.1.0-railsexpress
    Original file line number Diff line number Diff line change
    @@ -16,6 +16,7 @@ build_package_patch_ruby_railsexpress() {
    patch -p1 < rvm-patchsets/patches/ruby/2.1.0/railsexpress/09-funny-falcon-stc-pool-allocation.patch
    patch -p1 < rvm-patchsets/patches/ruby/2.1.0/railsexpress/10-aman-opt-aset-aref-str.patch
    patch -p1 < rvm-patchsets/patches/ruby/2.1.0/railsexpress/11-funny-falcon-method-cache.patch
    patch -p1 < rvm-patchsets/patches/ruby/2.1.0/railsexpress/12-backport-r44370.patch
    }

    install_package "openssl-1.0.1e" "https://www.openssl.org/source/openssl-1.0.1e.tar.gz#66bf6f10f060d561929de96f9dfe5b8c" mac_openssl --if has_broken_mac_openssl
  6. @jhbabon jhbabon revised this gist Feb 12, 2014. 1 changed file with 6 additions and 2 deletions.
    8 changes: 6 additions & 2 deletions 2.1.0-railsexpress
    Original file line number Diff line number Diff line change
    @@ -1,5 +1,9 @@
    build_package_reconfigure() {
    test -f configure || autoconf
    }

    build_package_patch_ruby_railsexpress() {
    fetch_git rvm-patchsets git://github.com/jhbabon/rvm-patchsets.git fix-2.1.1-backport
    fetch_git rvm-patchsets git://github.com/skaes/rvm-patchsets.git master

    patch -p1 < rvm-patchsets/patches/ruby/2.1.0/railsexpress/01-current-2.1.1-fixes.patch
    patch -p1 < rvm-patchsets/patches/ruby/2.1.0/railsexpress/02-zero-broken-tests.patch
    @@ -15,4 +19,4 @@ build_package_patch_ruby_railsexpress() {
    }

    install_package "openssl-1.0.1e" "https://www.openssl.org/source/openssl-1.0.1e.tar.gz#66bf6f10f060d561929de96f9dfe5b8c" mac_openssl --if has_broken_mac_openssl
    install_package "ruby-2.1.0" "http://cache.ruby-lang.org/pub/ruby/2.1/ruby-2.1.0.tar.gz#9e6386d53f5200a3e7069107405b93f7" patch_ruby_railsexpress ldflags_dirs standard verify_openssl
    install_package "ruby-2_1_0" "https://github.com/ruby/ruby/archive/v2_1_0.tar.gz#994a6092845d681b440ef3c8fe29a6d2" reconfigure patch_ruby_railsexpress ldflags_dirs standard verify_openssl
  7. @jhbabon jhbabon revised this gist Feb 10, 2014. 1 changed file with 12 additions and 4 deletions.
    16 changes: 12 additions & 4 deletions 2.1.0-railsexpress
    Original file line number Diff line number Diff line change
    @@ -1,9 +1,17 @@
    build_package_patch_ruby_railsexpress() {
    fetch_git rvm-patchsets git://github.com/skaes/rvm-patchsets.git master
    fetch_git rvm-patchsets git://github.com/jhbabon/rvm-patchsets.git fix-2.1.1-backport

    for p in rvm-patchsets/patches/ruby/2.1.0/railsexpress/* ; do
    patch -p1 < $p
    done
    patch -p1 < rvm-patchsets/patches/ruby/2.1.0/railsexpress/01-current-2.1.1-fixes.patch
    patch -p1 < rvm-patchsets/patches/ruby/2.1.0/railsexpress/02-zero-broken-tests.patch
    patch -p1 < rvm-patchsets/patches/ruby/2.1.0/railsexpress/03-improve-gc-stats.patch
    patch -p1 < rvm-patchsets/patches/ruby/2.1.0/railsexpress/04-display-more-detailed-stack-trace.patch
    patch -p1 < rvm-patchsets/patches/ruby/2.1.0/railsexpress/05-show-full-backtrace-on-stack-overflow.patch
    patch -p1 < rvm-patchsets/patches/ruby/2.1.0/railsexpress/06-fix-missing-c-return-event.patch
    patch -p1 < rvm-patchsets/patches/ruby/2.1.0/railsexpress/07-backport-006e66b6680f60adfb434ee7397f0dbc77de7873.patch
    patch -p1 < rvm-patchsets/patches/ruby/2.1.0/railsexpress/08-funny-falcon-stc-density.patch
    patch -p1 < rvm-patchsets/patches/ruby/2.1.0/railsexpress/09-funny-falcon-stc-pool-allocation.patch
    patch -p1 < rvm-patchsets/patches/ruby/2.1.0/railsexpress/10-aman-opt-aset-aref-str.patch
    patch -p1 < rvm-patchsets/patches/ruby/2.1.0/railsexpress/11-funny-falcon-method-cache.patch
    }

    install_package "openssl-1.0.1e" "https://www.openssl.org/source/openssl-1.0.1e.tar.gz#66bf6f10f060d561929de96f9dfe5b8c" mac_openssl --if has_broken_mac_openssl
  8. @jhbabon jhbabon revised this gist Feb 10, 2014. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion 2.1.0-railsexpress
    Original file line number Diff line number Diff line change
    @@ -1,7 +1,7 @@
    build_package_patch_ruby_railsexpress() {
    fetch_git rvm-patchsets git://github.com/skaes/rvm-patchsets.git master

    for p in rvm-patchsets/patches/ruby/2.1.0/p0/railsexpress/* ; do
    for p in rvm-patchsets/patches/ruby/2.1.0/railsexpress/* ; do
    patch -p1 < $p
    done
    }
  9. @jhbabon jhbabon created this gist Jan 3, 2014.
    10 changes: 10 additions & 0 deletions 2.1.0-railsexpress
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,10 @@
    build_package_patch_ruby_railsexpress() {
    fetch_git rvm-patchsets git://github.com/skaes/rvm-patchsets.git master

    for p in rvm-patchsets/patches/ruby/2.1.0/p0/railsexpress/* ; do
    patch -p1 < $p
    done
    }

    install_package "openssl-1.0.1e" "https://www.openssl.org/source/openssl-1.0.1e.tar.gz#66bf6f10f060d561929de96f9dfe5b8c" mac_openssl --if has_broken_mac_openssl
    install_package "ruby-2.1.0" "http://cache.ruby-lang.org/pub/ruby/2.1/ruby-2.1.0.tar.gz#9e6386d53f5200a3e7069107405b93f7" patch_ruby_railsexpress ldflags_dirs standard verify_openssl
    17 changes: 17 additions & 0 deletions install.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,17 @@
    #!/usr/bin/env bash

    if command -v brew > /dev/null
    then
    if brew --prefix openssl > /dev/null
    then
    CONFIGURE_OPTS="$CONFIGURE_OPTS --with-openssl-dir=`brew --prefix openssl`"
    fi

    if brew --prefix readline > /dev/null
    then
    CONFIGURE_OPTS="$CONFIGURE_OPTS --with-readline-dir=`brew --prefix readline`"
    fi
    fi

    echo "==> Installing ruby version:"
    rbenv install ./2.1.0-railsexpress