Read more

Capistrano: Delete old releases automatically

Thomas Eisenbarth
August 04, 2011Software engineer at makandra GmbH

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

Illustration online protection

Rails Long Term Support

Rails LTS provides security patches for old versions of Ruby on Rails (2.3, 3.2, 4.2 and 5.2)

  • Prevents you from data breaches and liability risks
  • Upgrade at your own pace
  • Works with modern Rubies
Read more Show archive.org snapshot

By default Capistrano 3 keeps the last 5 releases in case you need to rollback to an older release. You can overwrite this setting by using

set :keep_releases, 3
Posted by Thomas Eisenbarth to makandra dev (2011-08-04 09:22)