github.com

If you have different users for different servers, don't use set :user. Encode the username into the server definition...

Whenever you deploy using Capistrano, a new folder is created within the releases directory on the remote server containing the...

makandra dev

Attached is a working config to deploy an application with Capistrano that needs to monitor Resque workers with God.

We're adding a script console-for to open a remote Rails console with one command. Also have a look...

makandra dev

When you have a hook in your Capistrano file that dumps your remote database, you might not want it to...

Soon after having written our shell-for script, we wanted to easily get dumps of our productions machines, too. This...

makandra dev

Before installing chef, make sure curl is installed and sudo finds your gems setup chef-client: follow this guide

We regularly need to connect to the server in order to e.g. access the production console. Guessing the Capistrano deploy...

You can seriously speed up deployments with Capistrano when using a local git repository on the server you are deploying...

When deploying an application with "cap deploy" by default [1] you only deploy your code but do not run migrations...

devstructure.com

blueprint is DevStructure’s workhorse tool that looks inside popular package managers, finds changes you made to configuration files, and...

After updating your RubyGems, you will probably not be able to run Capistrano any more, but receive an error similar...

Note that this sounds good but is not good at all when hooking tasks on cap deploy (see this article...

In order to bring up a textual description of a Capistrano task you can say cap -e taskname ... where taskname...

opensoul.org

Sometimes, you just need to shoot from the hip…or deploy your local changes without committing them. Put this snippet...

When Paperclip attachments should only be downloadable for selected users, there are three ways to go. The same applies to...

You are getting when connecting via SSH or deploying with Capistrano (which uses SSH): Too many authentication failures for username...

github.com

A collection of useful utilities for Capistrano deployments

github.com

Capistrano recipes for database backups before migrations, passenger deployment strategy, release tagging in Git repos.

github.com

As we get ready to upgrade our servers I thought it’d be a good time to upgrade our deployment...