Skip to content

Instantly share code, notes, and snippets.

@adilsoncarvalho
Last active October 12, 2015 01:58

Revisions

  1. Adilson Carvalho revised this gist Jun 21, 2013. 1 changed file with 2 additions and 1 deletion.
    3 changes: 2 additions & 1 deletion install-ruby
    Original file line number Diff line number Diff line change
    @@ -3,7 +3,8 @@
    # must run as root!!!

    RUBY_VERSION=1.9
    RUBY_PATCH=1.9.3-p385
    RUBY_PATCH=1.9.3-p429
    #RUBY_PATCH=1.9.3-p385
    #RUBY_PATCH=1.9.3-p286
    #RUBY_PATCH=1.9.3-p194

  2. Adilson Carvalho renamed this gist Feb 7, 2013. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  3. Adilson Carvalho renamed this gist Feb 7, 2013. 1 changed file with 3 additions and 2 deletions.
    5 changes: 3 additions & 2 deletions ruby-install-1.9.3p286.sh → ruby-install-1.9.3p385.sh
    Original file line number Diff line number Diff line change
    @@ -3,14 +3,15 @@
    # must run as root!!!

    RUBY_VERSION=1.9
    RUBY_PATCH=1.9.3-p286
    RUBY_PATCH=1.9.3-p385
    #RUBY_PATCH=1.9.3-p286
    #RUBY_PATCH=1.9.3-p194

    aptitude install -y build-essential libssl-dev libreadline-dev zlib1g-dev libyaml-dev libffi-dev

    cd ~
    wget http://ftp.ruby-lang.org/pub/ruby/$RUBY_VERSION/ruby-$RUBY_PATCH.tar.gz
    tar -zxvf ruby-$RUBY_PATCH.tar.gz \
    tar -zxvf ruby-$RUBY_PATCH.tar.gz

    cd ~/ruby-$RUBY_PATCH
    ./configure
  4. Adilson Carvalho revised this gist Feb 3, 2013. 2 changed files with 20 additions and 16 deletions.
    16 changes: 0 additions & 16 deletions ruby-install-1.9.3p194.sh
    Original file line number Diff line number Diff line change
    @@ -1,16 +0,0 @@
    #!/bin/bash

    # must run as root!!!

    aptitude install build-essential libssl-dev libreadline-dev zlib1g-dev libyaml-dev libffi-dev

    cd ~
    wget http://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p194.tar.gz
    tar -zxvf ruby-1.9.3-p194.tar.gz \

    cd ~/ruby-1.9.3-p194
    ./configure
    make
    make install

    gem update --system
    20 changes: 20 additions & 0 deletions ruby-install-1.9.3p286.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,20 @@
    #!/bin/bash

    # must run as root!!!

    RUBY_VERSION=1.9
    RUBY_PATCH=1.9.3-p286
    #RUBY_PATCH=1.9.3-p194

    aptitude install -y build-essential libssl-dev libreadline-dev zlib1g-dev libyaml-dev libffi-dev

    cd ~
    wget http://ftp.ruby-lang.org/pub/ruby/$RUBY_VERSION/ruby-$RUBY_PATCH.tar.gz
    tar -zxvf ruby-$RUBY_PATCH.tar.gz \

    cd ~/ruby-$RUBY_PATCH
    ./configure
    make
    make install

    gem update --system
  5. Adilson Carvalho created this gist Oct 25, 2012.
    16 changes: 16 additions & 0 deletions ruby-install-1.9.3p194.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,16 @@
    #!/bin/bash

    # must run as root!!!

    aptitude install build-essential libssl-dev libreadline-dev zlib1g-dev libyaml-dev libffi-dev

    cd ~
    wget http://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p194.tar.gz
    tar -zxvf ruby-1.9.3-p194.tar.gz \

    cd ~/ruby-1.9.3-p194
    ./configure
    make
    make install

    gem update --system