boot.rb 519 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' # Speed up boot time by caching expensive operations.
  4. Bootsnap.setup(
  5. cache_dir: File.expand_path('../tmp/cache', __dir__),
  6. development_mode: ENV.fetch('RAILS_ENV', 'development') == 'development',
  7. load_path_cache: true,
  8. autoload_paths_cache: true,
  9. disable_trace: false,
  10. compile_cache_iseq: false,
  11. compile_cache_yaml: false
  12. )