Apache/passenger/ree doesn't interpret .rb files
- by Sergey
I'm trying to get apache + passenger + ree to work. I think I did everything (except for setting up rails env - for now I wanna run just pure ruby) described here:
http://rvm.beginrescueend.com/integration/passenger/ But when I try to go to localhost/test.rb it doesn't interpret that file and just download it.
I don't know where should I look for mistakes, so here are a few files I think could be relevant:
/var/log/apache2/error.log (these 2 lines are repeating)
[Mon May 31 23:12:47 2010] [notice] Graceful restart requested, doing restart
[Mon May 31 23:12:48 2010] [notice] Apache/2.2.14 (Ubuntu) PHP/5.3.2-1ubuntu4.2 with Suhosin-Patch Phusion_Passenger/2.2.11 configured -- resuming normal operations
/etc/apache2/httpd.conf
LoadModule passenger_module /home/sergey/.rvm/gems/ree-1.8.7-2010.01/gems/passenger-2.2.11/ext/apache2/mod_passenger.so
PassengerRoot /home/sergey/.rvm/gems/ree-1.8.7-2010.01/gems/passenger-2.2.11
PassengerRuby /home/sergey/.rvm/bin/passenger_ruby
/var/www/test.rb
puts "test"