Skip to content

Instantly share code, notes, and snippets.

@radanisk
Last active December 20, 2015 00:49
Show Gist options
  • Select an option

  • Save radanisk/6044289 to your computer and use it in GitHub Desktop.

Select an option

Save radanisk/6044289 to your computer and use it in GitHub Desktop.

Revisions

  1. radanisk revised this gist Jul 20, 2013. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion ruby_chef_install.sh
    Original file line number Diff line number Diff line change
    @@ -8,4 +8,4 @@ cd ruby-1.9.3-p448/
    ./configure --prefix=/usr/local
    make
    make install
    gem install chef ruby-shadow --no-ri --no-rdoc
    gem install chef ruby-shadow berkshelf --no-ri --no-rdoc
  2. radanisk revised this gist Jul 20, 2013. 1 changed file with 4 additions and 5 deletions.
    9 changes: 4 additions & 5 deletions ruby_chef_install.sh
    Original file line number Diff line number Diff line change
    @@ -2,11 +2,10 @@
    apt-get -y update
    apt-get -y install patch gawk g++ gcc make libc6-dev patch libreadline6-dev zlib1g-dev libssl-dev libyaml-dev libsqlite3-dev sqlite3 autoconf libgdbm-dev libncurses5-dev automake libtool bison pkg-config libffi-dev
    cd /tmp
    wget ftp://ftp.ruby-lang.org/pub/ruby/2.0/ruby-2.0.0-p247.tar.gz
    tar -xvzf ruby-2.0.0-p247.tar.gz
    cd ruby-2.0.0-p247/
    wget ftp://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p448.tar.gz
    tar -xvzf ruby-1.9.3-p448.tar.gz
    cd ruby-1.9.3-p448/
    ./configure --prefix=/usr/local
    make
    make install
    gem install chef -v 11.6.0.rc.4 --no-ri --no-rdoc
    gem install ruby-shadow --no-ri --no-rdoc
    gem install chef ruby-shadow --no-ri --no-rdoc
  3. radanisk revised this gist Jul 20, 2013. 1 changed file with 2 additions and 1 deletion.
    3 changes: 2 additions & 1 deletion ruby_chef_install.sh
    Original file line number Diff line number Diff line change
    @@ -8,4 +8,5 @@ cd ruby-2.0.0-p247/
    ./configure --prefix=/usr/local
    make
    make install
    gem install chef ruby-shadow --no-ri --no-rdoc
    gem install chef -v 11.6.0.rc.4 --no-ri --no-rdoc
    gem install ruby-shadow --no-ri --no-rdoc
  4. radanisk revised this gist Jul 20, 2013. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion ruby_chef_install.sh
    Original file line number Diff line number Diff line change
    @@ -1,6 +1,6 @@
    #!/usr/bin/env bash
    apt-get -y update
    apt-get -y install build-essential zlib1g-dev libssl-dev libreadline6-dev libyaml-dev
    apt-get -y install patch gawk g++ gcc make libc6-dev patch libreadline6-dev zlib1g-dev libssl-dev libyaml-dev libsqlite3-dev sqlite3 autoconf libgdbm-dev libncurses5-dev automake libtool bison pkg-config libffi-dev
    cd /tmp
    wget ftp://ftp.ruby-lang.org/pub/ruby/2.0/ruby-2.0.0-p247.tar.gz
    tar -xvzf ruby-2.0.0-p247.tar.gz
  5. radanisk created this gist Jul 20, 2013.
    11 changes: 11 additions & 0 deletions ruby_chef_install.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,11 @@
    #!/usr/bin/env bash
    apt-get -y update
    apt-get -y install build-essential zlib1g-dev libssl-dev libreadline6-dev libyaml-dev
    cd /tmp
    wget ftp://ftp.ruby-lang.org/pub/ruby/2.0/ruby-2.0.0-p247.tar.gz
    tar -xvzf ruby-2.0.0-p247.tar.gz
    cd ruby-2.0.0-p247/
    ./configure --prefix=/usr/local
    make
    make install
    gem install chef ruby-shadow --no-ri --no-rdoc