Skip to content

Instantly share code, notes, and snippets.

@beanieboi
Forked from ryanb/chef_solo_bootstrap.sh
Created June 4, 2012 09:26

Revisions

  1. beanieboi revised this gist Jun 4, 2012. 1 changed file with 6 additions and 6 deletions.
    12 changes: 6 additions & 6 deletions chef_solo_bootstrap.sh
    Original file line number Diff line number Diff line change
    @@ -1,11 +1,11 @@
    #!/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/
    ./configure --prefix=/usr/local
    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=/opt/ruby-1.9.3-p194
    make
    make install
    gem install chef ruby-shadow --no-ri --no-rdoc
    ln -s /opt/ruby-1.9.3-p194 /opt/ruby
  2. @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
  3. @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
  4. @ryanb ryanb renamed this gist Apr 5, 2012. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  5. @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