After installing the aws-s3 gem on Ubuntu, I wasn't able to load it:
$: irb
>> require 'rubygems'
=> true
>> require 'aws/s3'
LoadError: no such file to load -- openssl
I thought it was because I just didn't have openssl installed. So I installed it:
$: sudo apt-get install openssl
Still not working. So I installed...
$: sudo apt-get install libssl-dev
Still not working. Turns out I needed...
$: sudo apt-get install libopenssl-ruby
Bingo!
$: irb
>> require 'rubygems'
=> true
>> require 'aws/s3'
=> true