Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
Installing the aws-sdk gem on EC2 (using the Amazon Linux AMI)
sudo yum install -y gcc make \
libxml2 libxml2-devel libxslt libxslt-devel \
rubygems ruby-devel
sudo gem install nokogiri -- --with-xml2-lib=/usr/local/lib \
--with-xml2-include=/usr/local/include/libxml2 \
--with-xslt-lib=/usr/local/lib \
sudo gem install aws-sdk --no-ri --no-rdoc

That didn't work for me, but a package in their repository did..

sudo yum install rubygem20-aws-sdk

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment