boot.rb 413 B

1234567891011121314
  1. ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../Gemfile', __dir__)
  2. require 'bundler/setup' # Set up gems listed in the Gemfile.
  3. require 'bootsnap'
  4. Bootsnap.setup(
  5. cache_dir: 'tmp/cache',
  6. development_mode: ENV['RAILS_ENV'] == 'development',
  7. load_path_cache: true,
  8. autoload_paths_cache: true,
  9. disable_trace: true,
  10. compile_cache_iseq: false,
  11. compile_cache_yaml: false
  12. )