Tony Narlock Living life in the cloud

5Mar/100

Troubleshooting s3sync

Amazon S3 is a superb, cost-effective, scalable storage solution. It's been around for a few years. s3sync.rb is a well-maintained ruby script to backup your important files.

[07:02 AM][root@local ~/.s3conf]# ./s3cmd.rb
/usr/bin/env: ruby: No such file or directory

You don't have ruby installed. Easy.

sudo apt-get install ruby
or
yum install ruby

[07:02 AM][root@local ~/.s3conf]# ./s3cmd.rb
./S3.rb:14:in `require': no such file to load -- openssl (LoadError)
from ./S3.rb:14
from ./s3try.rb:26:in `require'
from ./s3try.rb:26
from ./s3cmd.rb:16:in `require'
from ./s3cmd.rb:16

Missing openssl libraries.

sudo apt-get install libopenssl-ruby