Start by taking a look at this gem capistrano3-delayed-job, this way we won't need to repeat this code in every project that uses delayed jobs. If you don't want to use a gem Capistrano 3 has a different DSL for tasks. You won't be able to incorporate DJ tasks via require 'delayed/recipes' in your deploy.rb anymore, so don't try to adding it to your new Capfile. Instead, for a Rails project, save