Skip to content

Instantly share code, notes, and snippets.

@ijonas
Forked from ryanb/chef_solo_bootstrap.sh
Last active October 6, 2015 08:48
Show Gist options
  • Select an option

  • Save ijonas/2967897 to your computer and use it in GitHub Desktop.

Select an option

Save ijonas/2967897 to your computer and use it in GitHub Desktop.

Revisions

  1. ijonas revised this gist Jan 1, 2013. 1 changed file with 3 additions and 3 deletions.
    6 changes: 3 additions & 3 deletions chef_solo_bootstrap.sh
    Original file line number Diff line number Diff line change
    @@ -2,9 +2,9 @@
    sudo apt-get -y update
    sudo apt-get -y install build-essential zlib1g-dev libssl-dev libreadline6-dev libyaml-dev
    cd /tmp
    wget ftp://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p194.tar.gz
    tar -xvzf ruby-1.9.3-p194.tar.gz
    cd ruby-1.9.3-p194/
    wget ftp://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p362.tar.gz
    tar -xvzf ruby-1.9.3-p362.tar.gz
    cd ruby-1.9.3-p362/
    ./configure --prefix=/usr/local
    make
    sudo make install
  2. ijonas revised this gist Jul 5, 2012. 1 changed file with 2 additions and 2 deletions.
    4 changes: 2 additions & 2 deletions chef_solo_bootstrap.sh
    Original file line number Diff line number Diff line change
    @@ -7,5 +7,5 @@ tar -xvzf ruby-1.9.3-p194.tar.gz
    cd ruby-1.9.3-p194/
    ./configure --prefix=/usr/local
    make
    make install
    gem install chef ruby-shadow --no-ri --no-rdoc
    sudo make install
    sudo gem install chef ruby-shadow --no-ri --no-rdoc
  3. ijonas revised this gist Jul 4, 2012. 1 changed file with 2 additions and 2 deletions.
    4 changes: 2 additions & 2 deletions chef_solo_bootstrap.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
    sudo apt-get -y update
    sudo apt-get -y install build-essential zlib1g-dev libssl-dev libreadline6-dev libyaml-dev
    cd /tmp
    wget ftp://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p194.tar.gz
    tar -xvzf ruby-1.9.3-p194.tar.gz
  4. ijonas revised this gist Jun 21, 2012. 1 changed file with 4 additions and 4 deletions.
    8 changes: 4 additions & 4 deletions chef_solo_bootstrap.sh
    Original file line number Diff line number Diff line change
    @@ -1,10 +1,10 @@
    #!/usr/bin/env bash
    apt-get -y update
    apt-get -y install build-essential zlib1g-dev libssl-dev libreadline5-dev libyaml-dev
    apt-get -y install build-essential zlib1g-dev libssl-dev libreadline6-dev libyaml-dev
    cd /tmp
    wget ftp://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p125.tar.gz
    tar -xvzf ruby-1.9.3-p125.tar.gz
    cd ruby-1.9.3-p125/
    wget ftp://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p194.tar.gz
    tar -xvzf ruby-1.9.3-p194.tar.gz
    cd ruby-1.9.3-p194/
    ./configure --prefix=/usr/local
    make
    make install
  5. @ryanb ryanb revised this gist Apr 7, 2012. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion chef_solo_bootstrap.sh
    Original file line number Diff line number Diff line change
    @@ -8,4 +8,4 @@ cd ruby-1.9.3-p125/
    ./configure --prefix=/usr/local
    make
    make install
    gem install chef --no-ri --no-rdoc
    gem install chef ruby-shadow --no-ri --no-rdoc
  6. @ryanb ryanb revised this gist Apr 5, 2012. 1 changed file with 0 additions and 2 deletions.
    2 changes: 0 additions & 2 deletions chef_solo_bootstrap.sh
    Original file line number Diff line number Diff line change
    @@ -1,13 +1,11 @@
    #!/usr/bin/env bash

    apt-get -y update
    apt-get -y install build-essential zlib1g-dev libssl-dev libreadline5-dev libyaml-dev
    cd /tmp
    wget ftp://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p125.tar.gz
    tar -xvzf ruby-1.9.3-p125.tar.gz
    cd ruby-1.9.3-p125/
    ./configure --prefix=/usr/local
    rm -rf ruby-1.9.3-p125 ruby-1.9.3-p125
    make
    make install
    gem install chef --no-ri --no-rdoc
  7. @ryanb ryanb renamed this gist Apr 5, 2012. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  8. @ryanb ryanb created this gist Apr 5, 2012.
    13 changes: 13 additions & 0 deletions chef_solo_bootstrap.rb
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,13 @@
    #!/usr/bin/env bash

    apt-get -y update
    apt-get -y install build-essential zlib1g-dev libssl-dev libreadline5-dev libyaml-dev
    cd /tmp
    wget ftp://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p125.tar.gz
    tar -xvzf ruby-1.9.3-p125.tar.gz
    cd ruby-1.9.3-p125/
    ./configure --prefix=/usr/local
    rm -rf ruby-1.9.3-p125 ruby-1.9.3-p125
    make
    make install
    gem install chef --no-ri --no-rdoc