Libopenssl-ruby NEEDED ON MAC OS X?

Hello all! You’ve been most helpful in the past so I am here again
with another question…

I am trying to use s3sync to backup data from a Rails app to S3. The
app is about to be deployed on Fedora machine. Meanwhile, I am
developing on Mac OS X Leopard running Rails.

I am trying to follow this recipe on how to use s3sync.
http://blog.eberly.org/2006/10/09/how-automate-your-backup-to-amazon-s3-using-s3sync/
titled “How I automated my backups to Amazon S3 using s3sync.”

I’d like to get this running and tested on my machine first before
deploying to the Fedora machine.

The person in the article is running Debian/Ubuntu type system and the
first step says…

===
First, make sure you have ruby 1.8.4 or greater and the ssl lib for
ruby or higher
$ sudo apt-get install ruby libopenssl-ruby

===

QUESTION: Do I need said libopenssl-ruby is running on OSX? If so,
where do I get it from?

I’ve seen the question from Mac users on the original eberly.org blog
post asking the same questions above but there were no answers. The
Mac guys were reporting things not working for them…

THANKS!

On Jun 18, 9:11 pm, nahabed [email protected] wrote:

QUESTION: Do I need said libopenssl-ruby is running on OSX? If so,
where do I get it from?

If you’re using the ruby that ships with leopard then it’s all ready
to go.

Fred

On Jun 18, 2008, at 4:20 PM, Frederick C. wrote:

===

QUESTION: Do I need said libopenssl-ruby is running on OSX? If so,
where do I get it from?

If you’re using the ruby that ships with leopard then it’s all ready
to go.

Fred

But you might have to require it (the plugin already should). In any
case, here’s how to test:

$ ruby -e OpenSSL
-e:1: uninitialized constant OpenSSL (NameError)
$ ruby -ropenssl -e OpenSSL
$

If you get an error the second time, your ruby installation lacks
OpenSSL support. (The ‘-ropenssl’ is like putting a “require
‘openssl’” at the top of the script.)

-Rob

Rob B. http://agileconsultingllc.com
[email protected]