# Libopenssl-ruby NEEDED ON MAC OS X?

**URL:** <https://www.ruby-forum.com/t/libopenssl-ruby-needed-on-mac-os-x/140819>\
**Category:** Rails\
**Created:** [June 18, 2008, 10:11pm UTC](https://www.ruby-forum.com/t/libopenssl-ruby-needed-on-mac-os-x/140819 "2008-06-18T22:11:44Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![nahabed](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/b77776/32.png) [@nahabed](https://www.ruby-forum.com/u/nahabed)\
**Post date:** [June 18, 2008, 10:11pm UTC](https://www.ruby-forum.com/t/libopenssl-ruby-needed-on-mac-os-x/140819/1 "2008-06-18T22:11:44Z")

</div>

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/](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](http://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!

---

<div class="post-metadata">

**Author:** ![nahabed](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/b77776/32.png) [@nahabed](https://www.ruby-forum.com/u/nahabed)\
**Post date:** [June 18, 2008, 10:20pm UTC](https://www.ruby-forum.com/t/libopenssl-ruby-needed-on-mac-os-x/140819/2 "2008-06-18T22:20:44Z")

</div>

On Jun 18, 9:11 pm, nahabed [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) 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

---

<div class="post-metadata">

**Author:** ![nahabed](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/b77776/32.png) [@nahabed](https://www.ruby-forum.com/u/nahabed)\
**Post date:** [June 18, 2008, 10:31pm UTC](https://www.ruby-forum.com/t/libopenssl-ruby-needed-on-mac-os-x/140819/3 "2008-06-18T22:31:19Z")

</div>

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](http://agileconsultingllc.com)  
removed\_email\_address@domain.invalid
