Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Need help setting up passenger with RVM

I'm trying to setup passenger with rvm. I keep getting this error

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

I did that still same problem

  • GNU C++ compiler... found at /usr/bin/g++
  • Curl development headers with SSL support... found
  • OpenSSL development headers... found
  • Zlib development headers... found
  • Ruby development headers... found
  • OpenSSL support for Ruby... found
  • RubyGems... found

Your RVM wrapper scripts are too old.

Please update them first by running 'rvm update --head && rvm reload && rvm repair all'.

I'm using Fedora 14, Ruby 1.9.2, Rails 3.0.7 RVM is installed for multiuser

I also get this error when I do 'passenger start'

Cannot execute '/home/antarr/.passenger/standalone/3.0.7-x86_64-ruby1.9.2-linux-gcc4.5.1-1002/support/helper-scripts/prespawn http://0.0.0.0:3000': Permission denied (13)

like image 611
Antarr Byrd Avatar asked May 23 '11 23:05

Antarr Byrd


1 Answers

I was having the same issue but found that using the rvmsudo command worked. Instead of

sudo passenger-install-apache2-module

try using:

rvmsudo passenger-install-apache2-module
like image 52
Dave Flynn Avatar answered Dec 04 '22 23:12

Dave Flynn