Sha256: 087bf782588fb9012c14b1c0578fc9de7b630bb9ade675a84a004cc02c6663bf
Contents?: true
Size: 400 Bytes
Versions: 9
Compression:
Stored size: 400 Bytes
Contents
require 'rails/generators' module DelayedJobMaster class ConfigGenerator < Rails::Generators::Base source_root File.join(File.dirname(__FILE__), 'templates') def create_script_file template 'script', 'bin/delayed_job_master' chmod 'bin/delayed_job_master', 0o755 end def create_config_file template 'config.rb', 'config/delayed_job_master.rb' end end end
Version data entries
9 entries across 9 versions & 1 rubygems