InfoQ

News

Rails Deployment Roundup: Dreamhost with mod_rails, Capistrano 2.3, Book

Posted by Werner Schuster on May 14, 2008 08:30 PM

Community
Ruby
Topics
Deployment / Datacenter ,
Ruby on Rails
Tags
Book ,
Deployment ,
Ruby on Rails ,
Rails
Web hosting company Dreamhost caused a stir in the Rails community earlier this year by talking about the problems it experienced with offering Rails application hosting to it's users. (See David Heinemeier Hansson's reply to Dreamhost's statements). Now, Dallas Kashuba, on the Dreamhost blog, writes that the issues Dreamhost encountered were resolved with the aid of Phusion Passenger/mod_rails:
From now on, deploying a Rails application may very well be as simple as ‘Upload’. Passenger automatically detects the presence of a Ruby on Rails application and launches it for you in the background, leaving it running for the subsequent requests. [..] All you do is enable the Ruby on Rails Passenger (mod_rails) option for any existing or new web domain in the DreamHost web control panel. When you then point that domain’s web directory to the public directory of an existing Ruby on Rails application it will work automatically.
Read InfoQ's interview with one of the Phusion Passenger/mod_rails developers for details about the project.
The Phusion Passenger/mod_rails team is continuing working on the project - for more current updates, check the Phusion Passenger/mod_rails blog or catch the team at RailsConf in late May.

Tom Copeland, who maintains RubyForge, posts a Capistrano task to update a Rails application running on Passenger Phusion/mod_rails. The task actually just consists touching the applications "restart.txt", which will cause Passenger Phusion/mod_rails to restart the application.

Jamis Buck reports the release of Capistrano 2.3.0. Jamis mentions the big change for 2.3:
Capistrano 2.3 is primarily significant in that it switches to the new Net::SSH v2 library, which is faster and slimmer than the older Net::SSH v1 library. It also pulls in Net::SFTP v2, and the new Net::SSH::Gateway and Net::SCP libraries.

Check the blog entry for a full list of new features, look for or report bugs at Lighthouse or check Jamis Buck's projects - including Capistrano - at Github.

Finally, the long awaited "Deploying Rails Applications: A Step-by-Step Guide" by Ezra Zygmuntowicz, Bruce Tate, and Clinton Begin is now available.

No comments

Watch Thread Reply

Educational Content

Bindings, Platforms, and Innovation

This presentation focuses on the Internet and separating myth from fact, history from the future, and the mundane from the imaginative. Bob Frankston presents a vision of what could and should be.

Orchestrating Long Running Activities with JBoss / JBPM

This article explores the use of JBoss and jBPM to implement design solutions that effectively address the issue of orchestrating long running activities.

Neo4j - The Benefits of Graph Databases

This presentation covers the use of graph databases as an optimal solution for data that is difficult to fit in static tables, rapidly evolving data or data that has a lot of optional attributes.

Realistic about Risk: Software development with Real Options

This session introduces Real Options and shows how it can help in running your project. Real Options is a decision-making process that can be used to manage risk.

Communication Flexibility Using Bindings

This article discusses the use of bindings on services and references (including the instance of non-configured bindings) as the means to implement SCA communications in a Web and SOA environment.

Writing DSLs in Groovy

After a short introduction to DSLs, Scott Davis plays with the keyboard showing how to approach the creation of a DSL by typing working snippets of Groovy code that get executed.

Scaling Agile with C/ALM (Collaborative Application Lifecycle Management)

IBM Rational and InfoQ present, Scaling Agile with C/ALM, an eBook showing organizations how to become “finely tuned software delivery machines” by enabling team integration and scaling.

Concurrent Programming with Microsoft F#

Amanda Laucher presents a real life enterprise application written in F#. She shows actual code snippets, explaining design decisions and suggesting how to use some of the F# constructs.