# Switchtower not working due to openssl not found

**URL:** <https://www.ruby-forum.com/t/switchtower-not-working-due-to-openssl-not-found/53481>\
**Category:** Rails\
**Created:** [February 7, 2006, 8:47am UTC](https://www.ruby-forum.com/t/switchtower-not-working-due-to-openssl-not-found/53481 "2006-02-07T08:47:25Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![rsanheim](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/47e85d/32.png) [@rsanheim](https://www.ruby-forum.com/u/rsanheim)\
**Post date:** [February 7, 2006, 8:47am UTC](https://www.ruby-forum.com/t/switchtower-not-working-due-to-openssl-not-found/53481/1 "2006-02-07T08:47:25Z")

</div>

I’m struggling to get switchtower working, and from other posts about  
it I know it has something to do with ruby binding to open ssl. I’m  
just not sure what I should recompile/reinstall to get things to work.

running: “rake remote\_exec ACTION=setup” gives me —\>  
…executing “mkdir -p -m 775 /usr/apps/hello-rails/releases  
/usr/apps/hello-rails/shared/system &&\n mkdir -p -m 777  
/usr/apps/hello-rails/shared/log”  
servers: [“[www.robsanheim.com](http://www.robsanheim.com)”]  
rake aborted!  
no such file to load – openssl

“which openssl” returns “/usr/bin/openssl”, and I can get an openssl  
prompt at the command line, so that is installed correctly. I was at  
ruby 1.8.3 and just upgrade to 1.8.4, thinking that might fix  
something, but it hasn’t.

Any ideas?

- Rob  
–  
[http://www.robsanheim.com/](http://www.robsanheim.com/) - blog on development, TDD, aqua teen, and  
agility  
[http://www.ajaxian.com/](http://www.ajaxian.com/) - the net’s best Ajax blog

---

<div class="post-metadata">

**Author:** ![rsanheim](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/47e85d/32.png) [@rsanheim](https://www.ruby-forum.com/u/rsanheim)\
**Post date:** [February 7, 2006, 8:53am UTC](https://www.ruby-forum.com/t/switchtower-not-working-due-to-openssl-not-found/53481/2 "2006-02-07T08:53:30Z")

</div>

Do you have the net-ssh gem installed? That’s my only guess, so if  
you have it installed, I don’t know what the problem is.

Pat

---

<div class="post-metadata">

**Author:** ![rsanheim](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/47e85d/32.png) [@rsanheim](https://www.ruby-forum.com/u/rsanheim)\
**Post date:** [February 7, 2006, 9:20am UTC](https://www.ruby-forum.com/t/switchtower-not-working-due-to-openssl-not-found/53481/3 "2006-02-07T09:20:40Z")

</div>

Yep, heres all local gems:

\*\*\* LOCAL GEMS \*\*\*

actionmailer (1.1.5, 1.1.4, 1.1.3)  
actionpack (1.11.2, 1.11.1, 1.11.0)  
actionwebservice (1.0.0, 0.9.4, 0.9.3)  
activerecord (1.13.2, 1.13.1, 1.13.0)  
activesupport (1.2.5, 1.2.4, 1.2.3)  
fcgi (0.8.6.1)  
mysql (2.7)  
needle (1.3.0)  
net-sftp (1.1.0)  
net-ssh (1.0.7)  
rails (1.0.0, 0.14.4, 0.14.3)  
rake (0.7.0, 0.6.2)  
sources (0.0.1)  
switchtower (0.10.0)

- Rob

---

<div class="post-metadata">

**Author:** ![rsanheim](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/47e85d/32.png) [@rsanheim](https://www.ruby-forum.com/u/rsanheim)\
**Post date:** [February 7, 2006, 3:56pm UTC](https://www.ruby-forum.com/t/switchtower-not-working-due-to-openssl-not-found/53481/4 "2006-02-07T15:56:33Z")

</div>

On Feb 7, 2006, at 12:45 AM, Rob S. wrote:

> no such file to load – openssl
> 
> “which openssl” returns “/usr/bin/openssl”, and I can get an openssl  
> prompt at the command line, so that is installed correctly. I was at  
> ruby 1.8.3 and just upgrade to 1.8.4, thinking that might fix  
> something, but it hasn’t.

What happens if you do “require ‘openssl’” from irb?

It sounds very much like the Ruby openssl bindings didn’t get  
installed, for some reason. How did you install Ruby?

- Jamis

---

<div class="post-metadata">

**Author:** ![rsanheim](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/47e85d/32.png) [@rsanheim](https://www.ruby-forum.com/u/rsanheim)\
**Post date:** [February 7, 2006, 5:42pm UTC](https://www.ruby-forum.com/t/switchtower-not-working-due-to-openssl-not-found/53481/5 "2006-02-07T17:42:26Z")

</div>

What is your OS? Do you have the openssl lib and include files  
installed?

- Jamis

---

<div class="post-metadata">

**Author:** ![rsanheim](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/47e85d/32.png) [@rsanheim](https://www.ruby-forum.com/u/rsanheim)\
**Post date:** [February 7, 2006, 8:26pm UTC](https://www.ruby-forum.com/t/switchtower-not-working-due-to-openssl-not-found/53481/6 "2006-02-07T20:26:03Z")

</div>

Its White Box Enterprise Linux 3. I have OpenSSL 0.9.7a installed and  
double checked that the libssl.so files are in /lib. Is there  
anything else I should check?

- Rob

---

<div class="post-metadata">

**Author:** ![rsanheim](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/47e85d/32.png) [@rsanheim](https://www.ruby-forum.com/u/rsanheim)\
**Post date:** [February 7, 2006, 4:42pm UTC](https://www.ruby-forum.com/t/switchtower-not-working-due-to-openssl-not-found/53481/7 "2006-02-07T16:42:56Z")

</div>

I installed Ruby from the tarball with configure/make.

Require doesn’t work, so I’m guessing the bindings are the issue.

irb(main):002:0\> require ‘rubygems’  
=\> true  
irb(main):003:0\> require ‘openssl’  
LoadError: no such file to load – openssl  
from  
/usr/local/lib/ruby/site\_ruby/1.8/rubygems/custom\_require.rb:21:in  
`require__' from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require’  
from (irb):3  
irb(main):004:0\>

- Rob

On 2/7/06, Jamis B. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> [http://lists.rubyonrails.org/mailman/listinfo/rails](http://lists.rubyonrails.org/mailman/listinfo/rails)

–  
[http://www.robsanheim.com/](http://www.robsanheim.com/) - blog on development, TDD, aqua teen, and  
agility  
[http://www.ajaxian.com/](http://www.ajaxian.com/) - the net’s best Ajax blog
