Created
April 9, 2012 22:44
-
-
Save akiatoji/2347128 to your computer and use it in GitHub Desktop.
AWS AMI Bootstrap for Ruby1.9.3 + Chef (WIP)
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
#!/bin/sh | |
sudo yum erase ruby ruby-libs ruby-mode ruby-rdoc ruby-irb ruby-ri ruby-docs | |
sudo yum install openssl-devel zlib-devel \ | |
gcc gcc-c++ make autoconf readline-devel \ | |
curl-devel expat-devel gettext-devel | |
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 | |
make | |
make install | |
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