Class: DelayedJobGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- DelayedJobGenerator
- Defined in:
- lib/generators/delayed_job/delayed_job_generator.rb
Instance Method Summary collapse
Instance Method Details
#create_executable_file ⇒ Object
7 8 9 10 |
# File 'lib/generators/delayed_job/delayed_job_generator.rb', line 7 def create_executable_file template 'script', "#{Delayed::Compatibility.executable_prefix}/delayed_job" chmod "#{Delayed::Compatibility.executable_prefix}/delayed_job", 0o755 end |