test/dummy/config/boot.rb in eac_rails_utils-0.8.0 vs test/dummy/config/boot.rb in eac_rails_utils-0.9.0
- old
+ new
@@ -1,4 +1,6 @@
+# frozen_string_literal: true
+
# Set up gems listed in the Gemfile.
-ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../../../Gemfile', __FILE__)
+ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../../Gemfile', __dir__)
require 'bundler/setup' if File.exist?(ENV['BUNDLE_GEMFILE'])