bootsnap upgrade

see: https://github.com/Shopify/bootsnap/pull/43#issuecomment-304281474
This commit is contained in:
Sam
2017-05-26 09:37:18 -04:00
parent aa24bcbcc9
commit 076f079d17
3 changed files with 5 additions and 7 deletions

View File

@ -12,8 +12,6 @@ require 'bundler/setup' if File.exists?(ENV['BUNDLE_GEMFILE'])
if ENV['RAILS_ENV'] != 'production'
is_mac = !!(RUBY_PLATFORM =~ /darwin/)
require 'bootsnap'
Bootsnap.setup(
@ -21,7 +19,7 @@ if ENV['RAILS_ENV'] != 'production'
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: is_mac, # Should compile Ruby code into ISeq cache?
compile_cache_yaml: false # Should compile YAML into a cache?
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
)
end