From: Michal Migurski Date: Mon, 28 Dec 2020 19:21:50 +0000 (-0800) Subject: Made Bootsnap required only when asked-for X-Git-Tag: live~2653^2~5 X-Git-Url: https://git.openstreetmap.org./rails.git/commitdiff_plain/c66041cb71f3fd0c48018599ea5a23d1bf219df0 Made Bootsnap required only when asked-for --- diff --git a/config/boot.rb b/config/boot.rb index 988a5ddc4..630904bfc 100644 --- a/config/boot.rb +++ b/config/boot.rb @@ -1,4 +1,4 @@ ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../Gemfile", __dir__) require "bundler/setup" # Set up gems listed in the Gemfile. -require "bootsnap/setup" # Speed up boot time by caching expensive operations. +require "bootsnap/setup" if ENV.fetch("ENABLE_BOOTSNAP", "true") == "true" # Speed up boot time by caching expensive operations.