~cytrogen/masto-fe

ref: 99e289f03f6a8e2f1ba82ecadaac2d0a6e9fe876 masto-fe/config/boot.rb -rw-r--r-- 401 bytes
99e289f0 — Matt Jankowski Fix include `Rails.application.routes.url_helpers` (Rails 7.1 prep) (#27189) 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.