test/dummy/config/boot.rb in angular_rails_csrf-4.0.0 vs test/dummy/config/boot.rb in angular_rails_csrf-4.0.1
- 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'])