Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I am installing passenger on a Ubuntu server 10.04.2. following this tutorial.

When I arrive to the step to install nginx rvmsudo passenger-install-nginx-module I have the following error:

Your RVM wrapper scripts are too old. Please update them first by running 'rvm update --head && rvm reload && rvm repair all'.

And when I try the command it says:

ERROR: rvm update has been removed. See 'rvm get' and rvm 'rubygems' CLI API insteadroot@myservername:/srv#

Does anyone know how I could install nginx?

share|improve this question

1 Answer 1

up vote 0 down vote accepted

I suggest that you are missing several libraries or dependencies for Ubuntu to successfully install nginx and passenger webservers

Here is a good link for setting up passenger with nginx or better still follow this list of commands for passenger and nginx. There is some great video tutorials on the site to show you how to do this.

Don't use sudo to install the gem when using RVM. This messes with your ruby version.

$rvm use 1.9.2
$gem install passenger
$passenger-install.....nginx

then

$rvm use 1.9.2 --default --passenger

I'm not sure if that is correct. I installed as a standalone passenger and nginx. I use RVM also. I'm pretty sure you don't have the necessary dependencies however.

share|improve this answer
    
Thx, following the tutorials you gave me, i installed libcurl4-openssl-dev and it now it works. –  Sylario Mar 1 '11 at 23:15

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.