Use default `bootsnap/setup` in boot.rb (#25502)
This commit is contained in:
parent
a8c1c8bd37
commit
c9cd634184
|
@ -6,12 +6,4 @@ end
|
||||||
ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../Gemfile', __dir__)
|
ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../Gemfile', __dir__)
|
||||||
|
|
||||||
require 'bundler/setup' # Set up gems listed in the Gemfile.
|
require 'bundler/setup' # Set up gems listed in the Gemfile.
|
||||||
require 'bootsnap' # Speed up boot time by caching expensive operations.
|
require 'bootsnap/setup' # Speed up boot time by caching expensive operations.
|
||||||
|
|
||||||
Bootsnap.setup(
|
|
||||||
cache_dir: File.expand_path('../tmp/cache', __dir__),
|
|
||||||
development_mode: ENV.fetch('RAILS_ENV', 'development') == 'development',
|
|
||||||
load_path_cache: true,
|
|
||||||
compile_cache_iseq: false,
|
|
||||||
compile_cache_yaml: false
|
|
||||||
)
|
|
||||||
|
|
Loading…
Reference in New Issue