Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

So I am really used to LAMP stacks and have an Apache and PHP setup on my Ubuntu server with about 30 PHP sites. I want to throw a new project up on the site that is built on Ruby on Rails. Is it possible to continue to use Apache and have the RoR project sit right next to all of the other projects in /var/www/?

Also, what's the best way to get RoR installed on a default Ubuntu server install?


share|improve this question
up vote 4 down vote accepted

Yes, you can with pretty much any Rails app server. In all cases, the Rails app runs in a separate process and the frontend web server (Apache in this case) passes requests through to it. For standalone servers like mongrel and unicorn you run the app server manually and use mod_proxy_http to pass requests through. Passenger lets Apache manage the rails process automatically and use a lightweight internal communication protocol rather than http.

If you're just getting started I'd advise using Passenger; my experience is that other servers are easier for larger clustered deployments.

share|improve this answer

Yes, you can with Passenger. It's Apache module and allows you to run rails applications.

For RoR installation have a look at RVM

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.