I’m trying to deploy my first app, and I’m confused. As far as I know
there are three different paths which I could choose: Heroku, mod_rails,
or follow the instructions in Deploying Rails Applications (whatever
exactly that leads me to). Correct?
I don’t want to do shared hosting, for performance reasons – so I’d go
with probably Slicehost. Can I use mod_rails with Slicehost?
Also, how about Heroku? Is it expensive? Or slow? Why wouldn’t
everyone use it?
There’s a lot of valid answers to your questions. I suppose an
important question to ask you is…
Are you familiar and comfortable with managing a *nix server (Linux,
If so, then looking at one of the VPS-based solutions might be a good
approach. Another VPS-option to throw into the mix would be our Rails
Boxcar, which is a pre-configured solution. We’ve already made some
decisions to help make your deployment and hosting solution easier to
If you’re planning on using a VPS, I’d suggest that you go with Nginx
instead. The big benefit of using mod_rails with Apache is if you’re
doing lots of other stuff that either requires Apache or just works
much better with it. For example, if you’re going to be running both a
PHP site and a Rails site, then running Apache with mod_rails is a
But for plain old Rails apps, you’re going to be better off with just
For VPS options, if you’re comfortable with administering your own
Linux server, and you have the time and desire to set it all up to
work properly with Rails, then Slicehost is a decent choice. But if
you don’t want to spend hours in an SSH shell getting the server set
up, you’re better off with one of the custom Rails VPS providers out
I’d personally back Robby’s suggestion for railsboxcar.com since I’m
the one who develops and maintains them, so I know they’re good.
But there are certainly other choices out there so feel free to look