debian-mirror-gitlab/config/boot.rb

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

7 lines
255 B
Ruby
Raw Normal View History

2021-03-11 19:13:27 +05:30
# frozen_string_literal: true
2021-11-11 11:23:49 +05:30
require_relative 'bundler_setup'
2021-12-11 22:18:48 +05:30
enable_bootsnap_default_value = ENV['RAILS_ENV'] != 'production' ? '1' : '0'
require 'bootsnap/setup' if %w(1 yes true).include?(ENV.fetch('ENABLE_BOOTSNAP', enable_bootsnap_default_value))