I've got ruby stack set up on a mac. For some reason I cannot get passenger and virtual hosts to work. I understand that passenger is included by default. I have created a new project in the projects directory and the following virtual host
<VirtualHost *:8080>
ServerName local.rubyusertest.com
RailsBaseURI /
RailsEnv development
# !!! Be sure to point DocumentRoot to 'public'!
DocumentRoot "/Applications/rubystack-1.9.3-1/projects/usertest/public"
<Directory "/Applications/rubystack-1.9.3-1/projects/usertest/public">
Order allow,deny
Allow from all
# This relaxes Apache security settings.
AllowOverride all
# MultiViews must be turned off.
Options -MultiViews
</Directory>
</VirtualHost>
When I go to local.rubyusertest.com I get the bitnami default page.
The passenger.conf file is included in my httpd.conf. What am I missing?
I'm seeing this error which suggests I don't actually have passenger in my stack
httpd: Syntax error on line 489 of /Applications/rubystack-1.9.3-1/apache2/conf/httpd.conf: Syntax error on line 1 of /Applications/rubystack-1.9.3-1/apache2/conf/bitnami/passenger.conf: Cannot load /Applications/rubystack-1.9.3-1/ruby/lib/ruby/gems/1.9.1/gems/passenger-3.9.1.beta/libout/apache2/mod_passenger.so into server: dlopen(/Applications/rubystack-1.9.3-1/ruby/lib/ruby/gems/1.9.1/gems/passenger-3.9.1.beta/libout/apache2/mod_passenger.so, 10): no suitable image found. Did find:\n\t/Applications/rubystack-1.9.3-1/ruby/lib/ruby/gems/1.9.1/gems/passenger-3.9.1.beta/libout/apache2/mod_passenger.so: mach-o, but wrong architecture