mirror of
https://github.com/gitlabhq/gitlabhq.git
synced 2025-07-21 23:56:17 +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))
|