News for hackers. Stuff that matters.

Ask HN: What is the easiest way to host a Rails app?

Maybe I'm typing the wrong things into Google, but the easy way to host a Rails app is eluding me. I know how to set up capistrano, thin, nginx, Ubuntu, mysql, etc, but where can I find this set up out of the box? It's gotta be out there.

Suggestions? Thanks!

( 21 comments | 10 points | on HN )
Re:Ask HN: What is the easiest way to host a Rails app? by smoody on Tuesday October 28, 2008 @01:54PM (#346554)
http://blog.fiveruns.com/2008/10/20/automatic-production-rai... -- it's a no-fuss script for bringing up production Rails on slicehost.
Re:Ask HN: What is the easiest way to host a Rails app? by danramteke on Tuesday October 28, 2008 @02:32PM (#346612)
this looks useful, thanks for the link.
Re:Ask HN: What is the easiest way to host a Rails app? by qhoxie on Tuesday October 28, 2008 @12:25PM (#346439)
This article gives a decent overview: http://www.aidanf.net/deploying-rails-on-a-clean-ubuntu-slic...

Aside from that, you can search for tutorials related to blank slate hosts like Slicehost and Linode - they tend to cover rails well.

Re:Ask HN: What is the easiest way to host a Rails app? by danramteke on Tuesday October 28, 2008 @12:46PM (#346461)
Slicehost.com does have some nice tutorials for just getting started. Is there a turnkey solution out there?
Re:Ask HN: What is the easiest way to host a Rails app? by callmeed on Tuesday October 28, 2008 @01:48PM (#346545)
Are you looking for something low-cost or more of a high-end managed service?

MediaTemple has RoR grid containers and other hosts support Rails now, but I don't know of a turnkey solution ... although Heroku looks interesting.

Seriously, if you get a slicehost slice w/ Ubuntu Hardy, Apache and mod_rails, you can get your app up in < 3 hours.

Plus, there's something to be said for getting on the server and learning how to do some things yourself.

Re:Ask HN: What is the easiest way to host a Rails app? by danramteke on Tuesday October 28, 2008 @02:38PM (#346617)
Looking for something with a low barrier to entry, but with room to grow. Something not unlike AWS, but totally tuned for Rails. I'm thinking about building such a solution if nothing else works out. For my personal use if nothing else.
Re:Ask HN: What is the easiest way to host a Rails app? by LogicHoleFlaw on Tuesday October 28, 2008 @03:02PM (#346651)
Perhaps there is an AWS machine image tuned for Rails?
Re:Ask HN: What is the easiest way to host a Rails app? by callmeed on Tuesday October 28, 2008 @03:36PM (#346677)
Re:Ask HN: What is the easiest way to host a Rails app? by danramteke on Tuesday October 28, 2008 @05:07PM (#346772)
sweet deal!
Re:Ask HN: What is the easiest way to host a Rails app? by qhoxie on Tuesday October 28, 2008 @02:43PM (#346622)
Something to consider (not quite turnkey depending on how you look at it) is deprec. Quite a few people still swear by it:

http://www.deprec.org/

Re:Ask HN: What is the easiest way to host a Rails app? by ph0rque on Tuesday October 28, 2008 @01:33PM (#346532)
have you tried heroku.com?
Re:Ask HN: What is the easiest way to host a Rails app? by jraines on Tuesday October 28, 2008 @02:59PM (#346647)
Heroku is great.

Someone correct me if I'm wrong, but the main drawbacks at this point are that your app can't send email, and you can't do cron stuff.

The free service is great, and I'll have my wallet out when they offer premium with those types of features.

Re:Ask HN: What is the easiest way to host a Rails app? by mhartl on Tuesday October 28, 2008 @03:14PM (#346663)
You can send email from a 'blessed' app (just ask them and it's likely they'll give you their blessing). I'm not sure about background jobs, but I imagine it's in the works.
Re:Ask HN: What is the easiest way to host a Rails app? by danramteke on Tuesday October 28, 2008 @02:28PM (#346602)
just signed up for an invite. Thanks!
Re:Ask HN: What is the easiest way to host a Rails app? by shevertalov on Tuesday October 28, 2008 @06:24PM (#346841)
I've had good luck with hosting Rails on Dreamhost. They have a good wiki page on how to set it up with capistrano (http://wiki.dreamhost.com/index.php/Capistrano) and you get shell access.
Re:Ask HN: What is the easiest way to host a Rails app? by rnesh on Tuesday October 28, 2008 @04:29PM (#346728)
I'm not sure if this fits your needs, but I would also take a look at WebFaction. http://www.webfaction.com/hosting/rails-hosting
Re:Ask HN: What is the easiest way to host a Rails app? by utnick on Tuesday October 28, 2008 @02:27PM (#346599)
setting up mod_rails on slicehost is pretty straightforward
Re:Ask HN: What is the easiest way to host a Rails app? by amr on Tuesday October 28, 2008 @02:59PM (#346648)
Rails Machine(http://railsmachine.com) makes setting up and deploying rails apps very easy with their capistrano tasks(https://support.railsmachine.com/index.php?pg=kb.page&id...). I've been with them for over a year and I highly recommend them.
Re:Ask HN: What is the easiest way to host a Rails app? by elai on Tuesday October 28, 2008 @04:08PM (#346714)
You see rails apps saying 'hosted by engine yard' on gitnub.

Try this list: http://wiki.rubyonrails.com/rails/pages/RailsWebHosts

and 'rails hosting' on google.

Re:Ask HN: What is the easiest way to host a Rails app? by siong1987 on Tuesday October 28, 2008 @04:40PM (#346740)
Some slicehost articles that might be useful to you:

Setting up a Ubuntu Hardy Heron with Rails: http://articles.slicehost.com/ubuntu-hardy

Re:Ask HN: What is the easiest way to host a Rails app? by iamelgringo on Tuesday October 28, 2008 @05:46PM (#346815)
Try searching for Rails EC2 AMI if you're interested in hosting on EC2: http://pauldowman.com/projects/ruby-on-rails-ec2/