Passenger (mod-rails) can't find libopenssl-ruby

Posted by flintinatux on Ask Ubuntu See other posts from Ask Ubuntu or by flintinatux
Published on 2011-10-15T16:00:22Z Indexed on 2012/03/28 17:44 UTC
Read the original article Hit count: 415

Filed under:
|
|
|

Trying to build an nginx server with Phusion Passenger on Ubuntu 11.10 (hurray for the new version!). Running "passenger-install-nginx-module" outputs the following error:

* OpenSSL support for Ruby... not found

With the following suggestion to fix it:

* To install OpenSSL support for Ruby:
  Please run apt-get install libopenssl-ruby as root.

Running "sudo apt-get install libopenssl-ruby" yields the following output:

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 0 not upgraded.

A little research shows that libruby is a virtual package that provides libopenssl-ruby as part of the package. However, the passenger-install-nginx-module script still can't find it, and keeps throwing the same error. Help me, please! I'm in a little over my head on this one, and the google-the-error-code method that usually works is failing me today.

© Ask Ubuntu or respective owner

Related posts about 11.10

Related posts about ruby