With this command you can initiate an application restart without touching restart.txt. Unlike touching restart.txt, this tool initiates the restart...

Rails has always included a scaffold script that generates a default controller implementation for you. Unfortunately that generated controller is...

web.archive.org

Capistrano 2 brings the shell command which allows you to run commands on your deployment targets. There is also invoke...

Our development process makes us deploy very often. As the number of releases grows, junk clogs up the hard drive...

Given you use Capistrano together with bundler to automatically install your gems when deploying. I recently had the problem that...

Geordi now has a script that runs capistrano with all known deploy targets (i.e. staging, production...). Use with geordi capistrano...

Our old solution for cronjobs, the "craken" plugin, is no longer maintained and does not work on Rails 3.2+.

When deploying, Capistrano puts a REVISION file into your application's release directory. It contains the hash of the commit...

makandracards.com

deploy-to-production now calls Capistrano with bundle exec since we started to bundle Capistrano in all projects.

There is a conflict between current capistrano versions and the 2.5.1 net-ssh gem. Make sure you upgrade to 2.5.2...

makandra dev

Capistrano recently had some API changes that can results in deploys not working when running with old deploy.rb files.

I got these warnings while deploying a Rails 3.2 app with asset pipeline enabled: *** [err :: host.tld] find: `/opt/www/hollyapp.com/releases/20120503115342/public/images': No such...

Geordi, our collection of command line tools, has been extended by another command deploy-to-production. This script encapsulates the...

When deploying code with Capistrano (depending on your configuration) at some point Capistrano tries to check out code from your...

github.com

Note: capistrano_colors was merged into Capistrano starting from v2.13.5. However, this requires Ruby 1.9+. If you cannot upgrade Capistrano...

When you have a complex recipe setup with multistage deployment you may run into this error: `role_list_from': unknown...

makandra dev

We forked craken today and fixed one of the issues we had with new (>0.8.7) rake versions. The craken:install...

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