diff options
author | bogdanvlviv <bogdanvlviv@gmail.com> | 2017-10-13 20:47:56 +0300 |
---|---|---|
committer | bogdanvlviv <bogdanvlviv@gmail.com> | 2017-10-13 20:47:56 +0300 |
commit | f1e47b0348bd6c18dd94659af549a25684ca78ff (patch) | |
tree | 61a1775f824793b2a928f042a4e825b304819648 /activestorage/test/dummy | |
parent | 9434a0047af7bb71fd3a9a25d09b79e29d1395b6 (diff) | |
download | rails-f1e47b0348bd6c18dd94659af549a25684ca78ff.tar.gz rails-f1e47b0348bd6c18dd94659af549a25684ca78ff.tar.bz2 rails-f1e47b0348bd6c18dd94659af549a25684ca78ff.zip |
Define path with __dir__ in activestorage/
Related to #29176
Diffstat (limited to 'activestorage/test/dummy')
-rwxr-xr-x | activestorage/test/dummy/bin/bundle | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activestorage/test/dummy/bin/bundle b/activestorage/test/dummy/bin/bundle index 277e128251..5015ba6f8b 100755 --- a/activestorage/test/dummy/bin/bundle +++ b/activestorage/test/dummy/bin/bundle @@ -1,5 +1,5 @@ #!/usr/bin/env ruby # frozen_string_literal: true -ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile", __FILE__) +ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../Gemfile", __dir__) load Gem.bin_path("bundler", "bundle") |