From c66041cb71f3fd0c48018599ea5a23d1bf219df0 Mon Sep 17 00:00:00 2001 From: Michal Migurski Date: Mon, 28 Dec 2020 11:21:50 -0800 Subject: [PATCH] Made Bootsnap required only when asked-for --- config/boot.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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. -- 2.45.1