gitlab-org--gitlab-foss/config/boot.rb

10 lines
325 B
Ruby
Raw Normal View History

ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../Gemfile', __dir__)
2011-10-08 17:36:38 -04:00
# Set up gems listed in the Gemfile.
require 'bundler/setup' if File.exist?(ENV['BUNDLE_GEMFILE'])
begin
require 'bootsnap/setup' unless ENV['DISABLE_BOOTSNAP']
rescue LoadError
# bootsnap is an optional dependency, so if we don't have it, it's fine
end