Is awesome.

1. check you've got an up-to-date version of Ruby Gems (i.e. >=1.3.x), e.g.

gem -v

2. install

gem install capistrano

3. create your Capfile

desc “List files on server”

task :ls, :hosts => “” do

run “ls”


4. and run with:

cap ls

(if you need to set a username, use:

set :user, “your user”

task :ls … etc…

OR just add it into the hostname, e.g.


5. list tasks with

cap -T

(assuming you've got a description for each task)

Capistrano requirements – you must:

– use SSH to connect to your remote machines and

– be reasonably familiar with Ruby


And if you're implementing Capistrano for PHP:


Leave a Reply

Your email address will not be published. Required fields are marked *