Skip to content

Instantly share code, notes, and snippets.

@lest
Created December 24, 2011 13:22

Revisions

  1. lest revised this gist Feb 18, 2012. 1 changed file with 6 additions and 8 deletions.
    14 changes: 6 additions & 8 deletions gistfile1.sh
    Original file line number Diff line number Diff line change
    @@ -1,24 +1,22 @@
    wget "ftp://ftp.cwru.edu/pub/bash/readline-6.2.tar.gz"
    tar xf readline-6.2.tar.gz
    cd readline-6.2
    ./configure --prefix=$HOME/.rbenv/versions/1.9.3-p0-patched
    ./configure --prefix=$HOME/.rbenv/versions/1.9.3-p125
    make -j 2
    make install
    cd ..

    wget "http://pyyaml.org/download/libyaml/yaml-0.1.4.tar.gz"
    tar xf yaml-0.1.4.tar.gz
    cd yaml-0.1.4
    ./configure --prefix=$HOME/.rbenv/versions/1.9.3-p0-patched
    ./configure --prefix=$HOME/.rbenv/versions/1.9.3-p125
    make -j 2
    make install
    cd ..

    wget "http://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p0.tar.gz"
    tar xf ruby-1.9.3-p0.tar.gz
    cd ruby-1.9.3-p0
    wget "https://gist.github.com/raw/1484985/3e9679a6fec73dacbcced2b1ce42ca642d85ccc0/cached_lp_sorted_lf.patch"
    patch -p1 < cached_lp_sorted_lf.patch
    ./configure --prefix=$HOME/.rbenv/versions/1.9.3-p0-patched --with-opt-dir=$HOME/.rbenv/versions/1.9.3-p0-patched --with-readline-dir=$HOME/.rbenv/versions/1.9.3-p0-patched --disable-install-doc
    wget "http://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p125.tar.gz"
    tar xf ruby-1.9.3-p125.tar.gz
    cd ruby-1.9.3-p125
    ./configure --prefix=$HOME/.rbenv/versions/1.9.3-p125 --with-opt-dir=$HOME/.rbenv/versions/1.9.3-p125 --with-readline-dir=$HOME/.rbenv/versions/1.9.3-p125 --disable-install-doc
    make -j 2
    make install
  2. lest revised this gist Dec 26, 2011. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion gistfile1.sh
    Original file line number Diff line number Diff line change
    @@ -19,6 +19,6 @@ tar xf ruby-1.9.3-p0.tar.gz
    cd ruby-1.9.3-p0
    wget "https://gist.github.com/raw/1484985/3e9679a6fec73dacbcced2b1ce42ca642d85ccc0/cached_lp_sorted_lf.patch"
    patch -p1 < cached_lp_sorted_lf.patch
    ./configure --prefix=$HOME/.rbenv/versions/1.9.3-p0-patched --with-opt-dir=$HOME/.rbenv/versions/1.9.3-p0-patched --disable-install-doc
    ./configure --prefix=$HOME/.rbenv/versions/1.9.3-p0-patched --with-opt-dir=$HOME/.rbenv/versions/1.9.3-p0-patched --with-readline-dir=$HOME/.rbenv/versions/1.9.3-p0-patched --disable-install-doc
    make -j 2
    make install
  3. lest created this gist Dec 24, 2011.
    24 changes: 24 additions & 0 deletions gistfile1.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,24 @@
    wget "ftp://ftp.cwru.edu/pub/bash/readline-6.2.tar.gz"
    tar xf readline-6.2.tar.gz
    cd readline-6.2
    ./configure --prefix=$HOME/.rbenv/versions/1.9.3-p0-patched
    make -j 2
    make install
    cd ..

    wget "http://pyyaml.org/download/libyaml/yaml-0.1.4.tar.gz"
    tar xf yaml-0.1.4.tar.gz
    cd yaml-0.1.4
    ./configure --prefix=$HOME/.rbenv/versions/1.9.3-p0-patched
    make -j 2
    make install
    cd ..

    wget "http://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p0.tar.gz"
    tar xf ruby-1.9.3-p0.tar.gz
    cd ruby-1.9.3-p0
    wget "https://gist.github.com/raw/1484985/3e9679a6fec73dacbcced2b1ce42ca642d85ccc0/cached_lp_sorted_lf.patch"
    patch -p1 < cached_lp_sorted_lf.patch
    ./configure --prefix=$HOME/.rbenv/versions/1.9.3-p0-patched --with-opt-dir=$HOME/.rbenv/versions/1.9.3-p0-patched --disable-install-doc
    make -j 2
    make install