Take the 2-minute tour ×
Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

I'm just starting to give RoR a go (RoR3 to be precise), and I'm wondering about hosting. For PHP applications, it's easy to run multiple of them on the one site (eg. in different subdirectories, subdomains, or addon domains).

It seems that for RoR hosting, it is only ever one application per "server" - so for instance you can no longer install apps in subdirectories.

Is this assumption correct? What are the different ways rails apps are hosted?

Thanks guys :-)

share|improve this question
add comment

1 Answer

up vote 2 down vote accepted

No, this assumption is not correctly. There are several solutions to have a Rails application up and running. The right one really depends on the complexity of your project.

If you just need to learn how to use Ruby and you don't want to fight with all the sysadm tasks, then you can give Heroku a try.

If you want to go with your server, I strongly encourage you to check out Passenger. It's a Nginx/Apache module you can install to run a Rack (thus a Rails 3) application. And it supports multiple apps on the same server.

For a more technical overview, check out this question.

share|improve this answer
    
Thanks for that, very good answer. –  balupton Dec 12 '10 at 20:43
add comment

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.