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.

paperplanes.de

This post is not about devops, it's not about lean startups, it's not about web scale, it's...

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...

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

We recently decided to put static content for HouseTrip.com to Amazon Cloudfront for a faster user experience. This happens fully...

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...

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...

It's that simple to allow one of your Linux users to run a single command as UID 0:

imperialviolet.org

In January this year (2010), Gmail switched to using HTTPS for everything by default. Previously it had been introduced as...

So you added a new callback to your model that (e.g.) caches some data when it is saved. Now you...

opensoul.org

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

makandra dev

You don't need a Rails application to use Sass. Even when you're working on a static site you...

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

makandra dev

Update RubyGems and Passenger Bundler requires Rubygems >= 1.3.6. Run gem update --system if you have an older version.

So you screwed up and copied Paperclip secrets from one project to another. Here is a semi-automatic, painful way...

Until May 2011 our gems have been created with Jeweler, which is a helper library to package code into a...