diff options
author | bogdanvlviv <bogdanvlviv@gmail.com> | 2017-06-11 15:59:23 +0300 |
---|---|---|
committer | bogdanvlviv <bogdanvlviv@gmail.com> | 2017-06-14 12:10:17 +0300 |
commit | 6673cf7071094e87d473459452a2d0e4c2ccfebe (patch) | |
tree | 926d5c944b8fd71c1fa2db6ddbc5fc397722112e /activesupport | |
parent | 326914dd3a15e04851c9ef4a47edeb3dad2ec381 (diff) | |
download | rails-6673cf7071094e87d473459452a2d0e4c2ccfebe.tar.gz rails-6673cf7071094e87d473459452a2d0e4c2ccfebe.tar.bz2 rails-6673cf7071094e87d473459452a2d0e4c2ccfebe.zip |
Use `require_relative` instead of `require` with full path
Diffstat (limited to 'activesupport')
-rwxr-xr-x | activesupport/bin/test | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/bin/test b/activesupport/bin/test index a7beb14b27..470ce93f10 100755 --- a/activesupport/bin/test +++ b/activesupport/bin/test @@ -1,4 +1,4 @@ #!/usr/bin/env ruby COMPONENT_ROOT = File.expand_path("..", __dir__) -require File.expand_path("../tools/test", COMPONENT_ROOT) +require_relative "../../tools/test" |