console-for opens a Rails console remotely on a Capistrano deployment target

Posted Almost 13 years ago by Dominik Schöler.

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

Dynamically skip Capistrano hooks

Posted Almost 13 years ago by Dominik Schöler.

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

Script to create and copy a production dump to your project root

Posted Almost 13 years ago by Dominik Schöler.

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

Script to open an SSH shell to a Capistrano deployment target

Posted Almost 13 years ago by Dominik Schöler.

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

Putting static content on Cloudfront

Posted Almost 13 years ago by Tobias Kraze.

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

Speed up Capistrano deployments using a remote cached copy of repository

Posted Almost 13 years ago by Thomas Eisenbarth.

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

Capistrano 2: Which Capistrano hooks to use for events to happen on both "cap deploy" and "cap deploy:migrations"

Posted Almost 13 years ago by Arne Hartherz.

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

Fix Capistrano with RubyGems 1.6

Posted About 13 years ago by Tobias Kraze.

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

Deploy and migrate with a single Capistrano command

Posted About 13 years ago by Henning Koch.

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

Show the description of a Capistrano task

Posted About 13 years ago by Henning Koch.

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

Allow a user to run a single command with root privileges

Posted About 13 years ago by Thomas Eisenbarth.

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

Computational cost of SSL connections

Posted Over 13 years ago by Thomas Eisenbarth.
imperialviolet.org

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

Apply a new callback to existing records

Posted Over 13 years ago by Henning Koch.

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

Capistrano cowboy deploys

Posted Over 13 years ago by Lexy.
opensoul.org

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

Use Sass without Rails

Posted Over 13 years ago by Henning Koch.

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

Deliver Paperclip attachments to authorized users only

Posted Over 13 years ago by Henning Koch.

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

lib/bundler/capistrano.rb at master from carlhuda's bundler - GitHub

Posted Over 13 years ago by Lexy.
github.com

Capistrano task for Bundler.

Bundler for Rails 2.3.x

Posted Over 13 years ago by Thomas Eisenbarth.

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

Change Paperclip secrets the hard way

Posted Over 13 years ago by Henning Koch.

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

Release gem; Deploy gem; Update a gem created with Jeweler

Posted Over 13 years ago by Henning Koch.

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

How to fix "Too many authentic authentication failures" with SSH and/or Capistrano

Posted Over 13 years ago by Henning Koch.

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

The Exciter - Why You Should Deploy Your Next Application on Ruby 1.9 and a Rant in General

Posted About 15 years ago by Lexy.
theexciter.com

The rubyforge gems model may not be perfect, but damnit people, when there’s a gem update I know that...

saizai's superdeploy at master - GitHub

Posted Almost 15 years ago by Lexy.
github.com

A collection of useful utilities for Capistrano deployments

rubaidh's rubaidhstrano at master - GitHub

Posted Almost 15 years ago by Lexy.
github.com

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