aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/bin/generate_tables
diff options
context:
space:
mode:
Diffstat (limited to 'activesupport/bin/generate_tables')
-rwxr-xr-xactivesupport/bin/generate_tables3
1 files changed, 2 insertions, 1 deletions
diff --git a/activesupport/bin/generate_tables b/activesupport/bin/generate_tables
index aa36a01b5b..18199b2171 100755
--- a/activesupport/bin/generate_tables
+++ b/activesupport/bin/generate_tables
@@ -1,7 +1,8 @@
#!/usr/bin/env ruby
+# frozen_string_literal: true
begin
- $:.unshift(File.expand_path(File.dirname(__FILE__) + "/../lib"))
+ $:.unshift(File.expand_path("../lib", __dir__))
require "active_support"
rescue IOError
end