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