]> git.openstreetmap.org Git - rails.git/blobdiff - config/boot.rb
Don't try and add fingerprints for user images
[rails.git] / config / boot.rb
index 5e5f0c1fac0bcde58936530ada4fd08abcaf5a64..988a5ddc460f03c2cafb3b91d98f0cc930ebc8ed 100644 (file)
@@ -1,4 +1,4 @@
-# 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.
+require "bootsnap/setup" # Speed up boot time by caching expensive operations.