Sha256: d8f1278d5bb83c1d175afc7f185d6c53a02e98bba91ad7278bab3eca1be98ea6
Contents?: true
Size: 539 Bytes
Versions: 3
Compression:
Stored size: 539 Bytes
Contents
module Capistrano module DelayedJob module Generators class ConfigGenerator < Rails::Generators::Base desc "Create local DelayedJob configuration files for customization" source_root File.expand_path('../templates', __FILE__) argument :templates_path, type: :string, default: "config/deploy/templates", banner: "path to templates" def copy_template copy_file "delayed_job_init.erb", "#{templates_path}/delayed_job_init.erb" end end end end end
Version data entries
3 entries across 3 versions & 1 rubygems