-
-
Save mustmodify/3041856 to your computer and use it in GitHub Desktop.
Bootstrap Chef Solo with MRI 1.9.3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
apt-get -y update | |
apt-get -y install build-essential zlib1g-dev libssl-dev libreadline-gplv2-dev libmysqlclient-dev libyaml-dev | |
export RUBY_MAJOR_VER='1.9' | |
export RUBY_FULL_VER='ruby-1.9.3-p194' | |
export RUBY_GEMS_VERSION='1.7.2' | |
cd /tmp | |
wget http://rubyforge.org/frs/download.php/74619/rubygems-1.7.2.tgz | |
tar -xvzf $RUBY_FULL_VER.tar.gz | |
cd $RUBY_FULL_VER | |
./configure --prefix=/usr/local | |
make | |
make install | |
gem install chef ruby-shadow mysql bundler rake passenger --no-ri --no-rdoc |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment