Sha256: 6bb688b5482b910aa5a5147602428ec340fcb5d98ae935c4dfbaad7efc28593e
Contents?: true
Size: 377 Bytes
Versions: 8
Compression:
Stored size: 377 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", 0755 end end
Version data entries
8 entries across 8 versions & 3 rubygems