Capistrano-ext

Posted by admin, Fri Nov 03 07:47:54 UTC 2006

Capistrano is an amazing tool for the remote deployment of Rails applications, but it doesn’t stop there.

capistrano-ext is an example of a set of extension tasks for Capistrano. I found out about them when I was reading a presentation that Mike Clark created. But, there are some details missing. One page says

gem install capistrano-ext

and then
cap watch_requests

Sounds fascinating. But it does not work quite that easily. I had to ask on the Capistrano mailing list, and Jamis immediately stepped up with the answer. You also need to add
require 'capistrano/ext/monitor'


to your deploy.rb file. He also mentioned he adds it to the bottom of that file.

That’s it. Now you can play with capistrano-ext tasks all you want.

Filed Under: | Tags:

Comments

Have your say

A name is required. You may use HTML in your comments.