Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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?

Thanks!

share|improve this question

2 Answers 2

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

 
discard

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.