Skip to content

Instantly share code, notes, and snippets.

@hurshagrawal
Forked from ryanb/chef_solo_bootstrap.sh
Last active December 10, 2015 05:58
Show Gist options
  • Save hurshagrawal/4391257 to your computer and use it in GitHub Desktop.
Save hurshagrawal/4391257 to your computer and use it in GitHub Desktop.
#!/usr/bin/env bash
sudo apt-get -y update
sudo apt-get -y install git-core build-essential openssl libreadline6 libreadline6-dev zlib1g zlib1g-dev libssl-dev libyaml-dev libsqlite3-0 libsqlite3-dev sqlite3 libxml2-dev libxslt-dev autoconf libc6-dev ncurses-dev automake libtool bison subversion libpq-dev xvfb -y
sudo bash < <(curl -s https://raw.github.com/wayneeseguin/rvm/master/binscripts/rvm-installer )
sudo usermod -a -G rvm ubuntu
echo 'gem: --no-rdoc --no-ri' > ~/.gemrc
# Log out and back in
rvm install 1.9.3-p194
gem install chef ruby-shadow --no-ri --no-rdoc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment