# Problem while installing passenger for apache

**URL:** <https://www.ruby-forum.com/t/problem-while-installing-passenger-for-apache/197705>\
**Category:** Rails\
**Created:** [October 19, 2010, 7:27am UTC](https://www.ruby-forum.com/t/problem-while-installing-passenger-for-apache/197705 "2010-10-19T07:27:42Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/77aa72/32.png) [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Post date:** [October 19, 2010, 7:27am UTC](https://www.ruby-forum.com/t/problem-while-installing-passenger-for-apache/197705/1 "2010-10-19T07:27:42Z")

</div>

Hi,

I am trying to install passenger 3.0 for apache2 on Ubuntu 10.10.

It says that I need to install libopenssl-ruby.

But when I did ‘sudo apt-get install libopenssl-ruby’, I got the  
following error.

Reading package lists… Done  
Building dependency tree  
Reading state information… Done  
Note, selecting ‘libruby’ instead of ‘libopenssl-ruby’  
libruby is already the newest version.  
0 upgraded, 0 newly installed, 0 to remove and 21 not upgraded.

How do I install libopenssl-ruby?

Thanks.

Sam

---

<div class="post-metadata">

**Author:** ![ssk](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/82dd89/32.png) [@ssk](https://www.ruby-forum.com/u/ssk)\
**Post date:** [October 19, 2010, 11:34am UTC](https://www.ruby-forum.com/t/problem-while-installing-passenger-for-apache/197705/2 "2010-10-19T11:34:40Z")

</div>

Try this Thread here for answers:

> **[\[ubuntu\] \[SOLVED\] apt-get not finding standard package (libopenssl-ruby)](https://ubuntuforums.org/showthread.php?t=910285)**
>
> Hi -- I'm having trouble installing libopenssl-ruby. 
> I use the following command: 
>  
> sudo apt-get install libopenssl-ruby 
>  
> (This was recommended to me when I ran the command passenger-install-apache2-module & it didn't find the openssl package it...

---

<div class="post-metadata">

**Author:** ![ssk](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/82dd89/32.png) [@ssk](https://www.ruby-forum.com/u/ssk)\
**Post date:** [October 19, 2010, 11:42am UTC](https://www.ruby-forum.com/t/problem-while-installing-passenger-for-apache/197705/3 "2010-10-19T11:42:34Z")

</div>

you nedd to recompile the ruby ssl module.

if you have installed ruby with rvm:  
cd $HOME  
cd .rvm/src/ruby-1.9.2-p0/ext/openssl  
ruby extconf.rb  
make  
make install

---

<div class="post-metadata">

**Author:** ![ssk](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/82dd89/32.png) [@ssk](https://www.ruby-forum.com/u/ssk)\
**Post date:** [December 4, 2010, 2:24pm UTC](https://www.ruby-forum.com/t/problem-while-installing-passenger-for-apache/197705/4 "2010-12-04T14:24:29Z")

</div>

Solrac C. wrote in post #955372:

> you nedd to recompile the ruby ssl module.
> 
> if you have installed ruby with rvm:  
> cd $HOME  
> cd .rvm/src/ruby-1.9.2-p0/ext/openssl  
> ruby extconf.rb  
> make  
> make install

Thanks - found this after posting similar question for nginx!

---

<div class="post-metadata">

**Author:** ![ssk](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/82dd89/32.png) [@ssk](https://www.ruby-forum.com/u/ssk)\
**Post date:** [December 4, 2010, 4:01pm UTC](https://www.ruby-forum.com/t/problem-while-installing-passenger-for-apache/197705/5 "2010-12-04T16:01:34Z")

</div>

Solrac C. wrote in post #955372:

> you nedd to recompile the ruby ssl module.
> 
> if you have installed ruby with rvm:  
> cd $HOME  
> cd .rvm/src/ruby-1.9.2-p0/ext/openssl  
> ruby extconf.rb  
> make  
> make install

Thanks - must have crossed in the post!
