~cytrogen/masto-fe

ref: 84d520ee80110f09ded76aad927fe80777d5e43b masto-fe/config/boot.rb -rw-r--r-- 401 bytes
84d520ee — Matt Jankowski Extract private methods in `StatusCacheHydrator` (#26177) 2 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
# frozen_string_literal: true

unless ENV.key?('RAILS_ENV')
  STDERR.puts 'ERROR: Missing RAILS_ENV environment variable, please set it to "production", "development", or "test".'
  exit 1
end

ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../Gemfile', __dir__)

require 'bundler/setup' # Set up gems listed in the Gemfile.
require 'bootsnap/setup' # Speed up boot time by caching expensive operations.