config/boot.rb in comfy_blog-2.0.6 vs config/boot.rb in comfy_blog-2.0.7
- old
+ new
@@ -1,7 +1,7 @@
# 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"])
File.exist?(ENV["BUNDLE_GEMFILE"])