Skip to content

Instantly share code, notes, and snippets.

@zachallett
Created May 2, 2013 21:11
Show Gist options
  • Select an option

  • Save zachallett/5505499 to your computer and use it in GitHub Desktop.

Select an option

Save zachallett/5505499 to your computer and use it in GitHub Desktop.
ln -s /usr/share/zoneinfo/UTC /etc/localtime
yum -y update
rpm -Uvh http://rbel.frameos.org/rbel6
yum -y install gcc g++ zlib zlib-devel libxslt libxslt-devel libxml2-devel gcc openssl openssl-devel readline-devel make libcurl-devel.x86_64 htop vim curl strace liburl-devel wget
cd /tmp
wget http://pyyaml.org/download/libyaml/yaml-0.1.4.tar.gz
tar xzvf yaml-0.1.4.tar.gz
cd yaml-0.1.4
./configure --prefix=/usr/local --disable-pthread
make
make install
cd /tmp
wget ftp://ftp.ruby-lang.org/pub/ruby/2.0/ruby-2.0.0-p0.tar.gz
tar xvf ruby-2.0.0-p0.tar.gz
cd ruby-2.0.0-p0
./configure
make
make install
rm -rf /usr/local/bin/rake
rm -rf /usr/local/bin/rdoc
rm -rf /usr/local/bin/ri
gem update --system
gem update
gem install chef --no-rdoc --no-ri
gem install ruby-shadow --no-rdoc --no-ri --verbose
gem install bundle --no-rdoc --no-ri --verbose
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment