summaryrefslogtreecommitdiff
path: root/config/boot.rb
blob: da4e6b7290c80ae0918ee0067446737ccd3c726e (plain)
1
2
3
4
5
ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../Gemfile', __dir__)

# Set up gems listed in the Gemfile.
require 'bundler/setup' if File.exist?(ENV['BUNDLE_GEMFILE'])
require 'bootsnap/setup' if ENV['RAILS_ENV'] != 'production' || %w(1 yes true).include?(ENV['ENABLE_BOOTSNAP'])