BT

New Early adopter or innovator? InfoQ has been working on some new features for you. Learn more

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

| by Werner Schuster Follow 3 Followers on May 14, 2008. Estimated reading time: 1 minute |
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.

Rate this Article

Adoption Stage
Style

Hello stranger!

You need to Register an InfoQ account or or login to post comments. But there's so much more behind being registered.

Get the most out of the InfoQ experience.

Tell us what you think

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread
Community comments

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

Discuss

Login to InfoQ to interact with what matters most to you.


Recover your password...

Follow

Follow your favorite topics and editors

Quick overview of most important highlights in the industry and on the site.

Like

More signal, less noise

Build your own feed by choosing topics you want to read about and editors you want to hear from.

Notifications

Stay up-to-date

Set up your notifications and don't miss out on content that matters to you

BT