Skip to content

Instantly share code, notes, and snippets.

@trevorrowe
Created February 20, 2012 17:58
Show Gist options
  • Star 7 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save trevorrowe/1870314 to your computer and use it in GitHub Desktop.
Save trevorrowe/1870314 to your computer and use it in GitHub Desktop.
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 \
--with-xslt-include=/usr/local/include
sudo gem install aws-sdk --no-ri --no-rdoc
@syntropo
Copy link

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

sudo yum install rubygem20-aws-sdk

https://forums.aws.amazon.com/thread.jspa?threadID=123511

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