Skip to content

Instantly share code, notes, and snippets.

@stan
Last active December 15, 2015 02:09
Show Gist options
  • Save stan/5185157 to your computer and use it in GitHub Desktop.
Save stan/5185157 to your computer and use it in GitHub Desktop.

Revisions

  1. stan revised this gist Mar 18, 2013. 1 changed file with 3 additions and 0 deletions.
    3 changes: 3 additions & 0 deletions How to
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,3 @@
    # install https://github.com/fgrehm/rbenv-install-remote

    rbenv install https://raw.github.com/gist/5185157/1.9.3-p392-railsexpress
  2. stan created this gist Mar 18, 2013.
    15 changes: 15 additions & 0 deletions 1.9.3-p392-railsexpress
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,15 @@
    build_package_combined_patch() {
    local package_name="$1"

    {
    curl https://raw.github.com/skaes/rvm-patchsets/master/patchsets/ruby/1.9.3/p392/railsexpress | xargs -I % curl https://raw.github.com/skaes/rvm-patchsets/master/patches/ruby/1.9.3/p392/% | patch -p1
    autoconf
    ./configure --prefix="$PREFIX_PATH" $CONFIGURE_OPTS
    make -j 8
    make install
    } >&4 2>&1

    }

    install_package "yaml-0.1.4" "http://pyyaml.org/download/libyaml/yaml-0.1.4.tar.gz"
    install_package "ruby-1.9.3-p392" "http://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p392.tar.gz" combined_patch