Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Passenger installation with nginx fails

I'm running an ubuntu 9.10 server on an amd-64 platform. Everything's pretty much standard, and I've got Sinatra 0.94 running on a ruby 1.8 installation. I want to install passenger in order to easily configure ssl.

The problem is, it fails to find the installer.

I run

sudo gem install passenger

or

sudo gem install -r passenger

and then the next line,

passenger-install-nginx-module

or

passenger-install-apache2-module

both fail because the path isn't found.

Is there something I'm forgetting here? Shouldn't it just work, straight up, once the gem is installed?

like image 497
mmr Avatar asked Feb 09 '10 00:02

mmr


1 Answers

A bit late for an answer I guess, but actually, the correct way of running the Phusion Passenger installer for nginx, when using RVM, is to use rvmsudo as in:

rvmsudo passenger-install-nginx-module

Credits go to this blog post,

like image 165
Rollo Tomazzi Avatar answered Oct 01 '22 13:10

Rollo Tomazzi