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.
#!/usr/bin/env bash
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/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 ruby-shadow berkshelf --no-ri --no-rdoc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment