mirror of
https://gitlab.com/gitlab-org/gitlab-foss.git
synced 2025-08-20 14:11:11 +00:00
7 lines
255 B
Ruby
7 lines
255 B
Ruby
# frozen_string_literal: true
|
|
|
|
require_relative 'bundler_setup'
|
|
|
|
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))
|