X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/bd402599f541e3da86036f21d955b6e6fc31185c..d14b251767452a514a9889771cf682e20be36946:/config/boot.rb diff --git a/config/boot.rb b/config/boot.rb index 5e5f0c1fa..282011619 100644 --- a/config/boot.rb +++ b/config/boot.rb @@ -1,4 +1,3 @@ -# 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']) +require "bundler/setup" # Set up gems listed in the Gemfile.