I tried to install passenger using rvm and ruby 1.9.2 on my debian lenny/sid today, but i get this error:
apache2: Syntax error on line 295 of /etc/apache2/apache2.conf: Syntax error on line 1 of /etc/apache2/conf.d/passenger.conf:
Cannot load /home/username/.rvm/gems/ruby-1.9.2-p136/gems/passenger-3.0.2/ext/apache2/mod_passenger.o into server: /home/username/.rvm/gems/ruby-1.9.2-p136/gems/passenger-3.0.2/ext/apache2/mod_passenger.o:
only ET_DYN and ET_EXEC can be loaded
...fail!
RVM was installed with
bash < <( curl http://rvm.beginrescueend.com/releases/rvm-install-head )
after changing the bashrc I installed passenger with
rvm install 1.9.2
rvm default 1.9.2
gem install passenger
rvmsudo passenger-install-apache2-module
and than I added the lines printed out at the end into the passenger.conf.
What does the error mean? How can I get it running?