From fa33e4863dca024e3222ab23bbf12e7075ef8530 Mon Sep 17 00:00:00 2001 From: Gerhard Schlager Date: Tue, 2 Feb 2021 14:39:51 +0100 Subject: [PATCH] DEV: Remove deprecated bootsnap options (#11929) Bootsnap started printing these warnings: ``` [DEPRECATED] Bootsnap's `autoload_paths_cache:` option is deprecated and will be removed. If you use Zeitwerk this option is useless, and if you are still using the classic autoloader upgrading is recommended. [DEPRECATED] Bootsnap's `disable_trace:` option is deprecated and will be removed. If you use Ruby 2.5 or newer this option is useless, if not upgrading is recommended. ``` --- config/boot.rb | 2 -- 1 file changed, 2 deletions(-) diff --git a/config/boot.rb b/config/boot.rb index 572d833edd..f3b61fd24c 100644 --- a/config/boot.rb +++ b/config/boot.rb @@ -23,8 +23,6 @@ if (ENV['DISABLE_BOOTSNAP'] != '1') Bootsnap.setup( cache_dir: 'tmp/cache', # Path to your cache load_path_cache: true, # Should we optimize the LOAD_PATH with a cache? - autoload_paths_cache: true, # Should we optimize ActiveSupport autoloads with cache? - disable_trace: false, # Sets `RubyVM::InstructionSequence.compile_option = { trace_instruction: false }` compile_cache_iseq: true, # Should compile Ruby code into ISeq cache? compile_cache_yaml: false # Skip YAML cache for now, cause we were seeing issues with it )