InfoQ

InfoQ

News

My Bookmarks

Login or Register to enable bookmarks for unlimited time.

The content has been bookmarked!

There was an error bookmarking this content! Please retry.

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

Posted by Werner Schuster on May 14, 2008

Sections
Development,
Operations & Infrastructure
Topics
Ruby on Rails ,
Deployment / Datacenter ,
Ruby
Tags
Ruby on Rails ,
Rails ,
Book ,
Deployment
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

New-age Transactional Systems - Not Your Grandpa's OLTP

John Hugg discusses high volume transaction processing applications with high and low frequency profiles, and how VoltDB can be used for that purpose.

Cool Code

Kevlin Henney examines code samples to see what can be learned from them starting from the premise that one won’t write great code unless he knows how to read it.

Collaboration: At the Extremities of Extreme

Jason Ayers share the observations he made watching a team of developers collaborating in real time on the same code base, pushing XP, pair programming and continuous integration to their extremes.

Yesod Web Framework

Michael Snoyman presents Yesod, a web framework written in Haskell and containing a web server, templating, ORM, libraries (templating, gravatar, etc.).

Transactions without Transactions

Richard Kreuter and Kyle Banker on how to avoid classical RDBMS transactional systems by using compensation mechanisms, transactional messaging or transactional procedures.

Attila Szegedi on JVM and GC Performance Tuning at Twitter

Attila Szegedi talks about performance tuning Java and Scala programs at Twitter: how to approach GC problems, the importance of asynchronous I/O, when to use MySQL/Cassandra/Redis, and much more.

10 tips on how to prevent business value risk

One category of risk that project teams need to ensure they address is business value failure – delivering a product that fails to provide value for the business investor.

Interview: Software Systems Architecture: Working With Stakeholders Using Viewpoints and Perspectives

InfoQ spoke to the authors of Software Systems Architecture on a couple of new topics, the System Context viewpoint and Agile, which have been added to the second edition.