aboutsummaryrefslogtreecommitdiffstats
path: root/activejob/lib/rails/generators/job
diff options
context:
space:
mode:
Diffstat (limited to 'activejob/lib/rails/generators/job')
-rw-r--r--activejob/lib/rails/generators/job/job_generator.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activejob/lib/rails/generators/job/job_generator.rb b/activejob/lib/rails/generators/job/job_generator.rb
index 50476a2e50..474f181f65 100644
--- a/activejob/lib/rails/generators/job/job_generator.rb
+++ b/activejob/lib/rails/generators/job/job_generator.rb
@@ -12,7 +12,7 @@ module Rails # :nodoc:
hook_for :test_framework
def self.default_generator_root
- File.dirname(__FILE__)
+ __dir__
end
def create_job_file