2011-10-08 17:36:38 -04:00
|
|
|
require 'rubygems'
|
|
|
|
|
|
|
|
# Set up gems listed in the Gemfile.
|
|
|
|
ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__)
|
|
|
|
|
2016-05-08 17:33:34 -04:00
|
|
|
require 'bundler/setup' if File.exist?(ENV['BUNDLE_GEMFILE'])
|
2017-06-08 18:26:23 -04:00
|
|
|
|
|
|
|
# Default Bootsnap configuration from https://github.com/Shopify/bootsnap#usage
|
|
|
|
require 'bootsnap'
|
|
|
|
Bootsnap.setup(
|
|
|
|
cache_dir: 'tmp/cache',
|
|
|
|
development_mode: ENV['RAILS_ENV'] == 'development',
|
|
|
|
load_path_cache: true,
|
|
|
|
autoload_paths_cache: true,
|
|
|
|
disable_trace: false,
|
|
|
|
compile_cache_iseq: true,
|
|
|
|
compile_cache_yaml: true
|
|
|
|
)
|