This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
The moose likes Ruby and the fly likes Deployment and Hosting Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Languages » Ruby
Bookmark "Deployment and Hosting" Watch "Deployment and Hosting" New topic
Author

Deployment and Hosting

Lance Spence
Greenhorn

Joined: Nov 17, 2005
Posts: 25
I was curious regarding the deployment of Rails applications is the deployment process straightforward and easy? Not using JRuby, what's the preferred Web Server?

Also are there many Web Hosts that support the hosting of Rails applications?

Once I get the basics of Ruby down, I'd like to start learning Rails and develop a few web apps for hosting, but I'm curious about how much Web Hosts support the hosting of Rails applications.
Himalay Majumdar
Ranch Hand

Joined: Sep 28, 2008
Posts: 324
"Deploying Rails Applications: A Step-by-Step Guide by Ezra Zygmuntowicz, Bruce Tate, and Clinton Begin" is a popular book to understand the deployment process in detail.

Here is another link to understand deployment process in Ruby-on-Rails application.

Either you use JRuby or not. Mongrel and Apache are the popular Web Servers I know.

This link describes the Popular Web Hosts for Rails


SCJP 1.6, SCWCD 5.0, SCBCD 5.0 [loading..]
Lance Spence
Greenhorn

Joined: Nov 17, 2005
Posts: 25
Thanks Himalay for the info and links.
Peter Cooper
Author
Greenhorn

Joined: Jul 17, 2009
Posts: 25
Passenger, a.k.a. mod_rails or mod_rack, is the most common way to deploy Rails (and other Ruby web framework) applications nowadays. It works on both Apache and nginx. It's reliable, good with memory, and runs like a champ. It's easy to install on your own Apache-powered server, of course, but some shared hosts run it too, such as Dreamhost. An older technique is to use fcgi/FastCGI. Most hosts are moving to Passenger, but it's still possible to deploy apps via FastCGI and on some setups it works just great.


Author of Beginning Ruby (Apress): http://bit.ly/t31ag
Editor of Ruby Inside and RubyFlow
Vyas Sanzgiri
Ranch Hand

Joined: Jun 16, 2007
Posts: 686



===Vyas Sanzgiri===
My Blog
 
GeeCON Prague 2014
 
subject: Deployment and Hosting