I had the urge to attempt to have Ruby on Rails Applications running on our fedora core 7 web server along with Cakephp applications today. I thought to use Phusion Passenger otherwise known as a apache module to enable rails applications to run on apache (that’s how I understand it.)
I didn’t set up our web server, our company’s consultant did it. But that’s out of the scenario that I want to talk about. After I downloaded passenger tarball from its website, I typed the command as instructed from the site, and this is what happened:
so, okay, GNU C++ compiler is not yet installed. I asked from some of the guys in #rubyonrails what does it mean by the header files. In short, the quick solution to that is by typing “yum install ruby-devel”.
Now , the GNU C++ compiler installation, I typed “yum install gcc”, and this is what happened:
The screenshot was taken about 4~5 hours ago, so by now, you could say at least, that I have already downloaded 4th from the packages …
I learn this as a very hard lesson because, our consultant is not always around, and there’s no one else to turn to if something should go bad/worse :(
Tags: Apache, Phusion Passenger, Ruby on Rails



[...] During this month of October, I did not have much to blog about. So, I had to do some exploration, experimenting with Ruby on Rails, installing Phusion Passenger on Fedora Core 7. [...]
what if you'll just use lighttpd to run your ruby on rails app and just use apache mod_proxy to proxy the request back to lighttpd RoR app?
@d though your suggestion sounds cool, but as far as what my research tells me, you cannot afford to use lighttpd with ruby on rails apps on production environment with medium to high traffic.
to use phusion for rails use following link
http://fedoraphprails.blogspot.com/2009/08/how-to-use-apache-server-for-ruby-on.html