5

I am following this great post to configure my rails production server on ubuntu 10.10 : rails production

When I want to execute the command :

rvmsudo passenger-install-nginx-module

I get the error : rvmsudo : command not found

Can anybody help me ? Thanks in advance !

obo
  • 1,652
  • 2
  • 26
  • 50

3 Answers3

5

Updating to the latest version helped me:

rvm get latest
rvm reload

The rvmsudo command was available after that.

0

That command is part of rvm. Have you installed rvm already? https://rvm.io. Follow the installation instructions carefully. It adds a lot to the login script, so just to be sure to be sure, logout and log back in to make sure it's setup properly. Skip the gemsets for now just to get up and running, then revisit that.

pduey
  • 3,706
  • 2
  • 23
  • 31
0

I finally performed a new global settings of my server and I installed passenger following carefully the instructions on the official web site here

Everything works now.

obo
  • 1,652
  • 2
  • 26
  • 50