Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Passenger on Apache 2 Installation fails with Your RVM wrapper scripts are too old

I'm trying to install passenger on a virtual rootserver (which has multiple user accounts) but running 'passenger-install-apache2-module' results always in the following error:

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

Following this given instructions does not take any effect. Before installing passenger, i installed RVM as multiuser / mixed mode according to https://rvm.io//rvm/install/

After that I did (using a non root-account):

  • rvmsudo rvm user gemsets
  • rvm install 1.9.3
  • gem install rails
  • gem install passenger
  • and lastly passenger-install-apache2-module

I searched for hours on this problem but could not find any working solution yet. Any suggestions ? Thanks in advance!

like image 799
Micha Avatar asked Dec 18 '25 00:12

Micha


2 Answers

Try to install passenger-install-apache2-module like this :

rvmsudo passenger-install-apache2-module
like image 199
juliendsv Avatar answered Dec 20 '25 18:12

juliendsv


I just encountered this very same issue. I'm using ZSH, but switching to Bash also failed on first attempt.

My solution was to switch to Bash with the --login flag:

/bin/bash --login

Then I noticed that my RVM ruby had become unset, so I re-set using:

rvm use ruby-1.9.3 --default

Once this was done, the following worked as expected:

passenger-install-apache2-module

Rich

like image 22
kim3er Avatar answered Dec 20 '25 17:12

kim3er



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!