Sha256: 8dcf9cb710507f958096833e18ddb00028ed6a395d50128015e39e3162147a8a
Contents?: true
Size: 378 Bytes
Versions: 15
Compression:
Stored size: 378 Bytes
Contents
require 'rails/generators/base' require 'delayed/compatibility' class DelayedJobGenerator < Rails::Generators::Base source_paths << File.join(File.dirname(__FILE__), 'templates') def create_executable_file template 'script', "#{Delayed::Compatibility.executable_prefix}/delayed_job" chmod "#{Delayed::Compatibility.executable_prefix}/delayed_job", 0o755 end end
Version data entries
15 entries across 15 versions & 1 rubygems