boot.rb 325 Bytes
Newer Older
1
ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../Gemfile', __dir__)
gitlabhq's avatar
gitlabhq committed
2

3
# Set up gems listed in the Gemfile.
4
require 'bundler/setup' if File.exist?(ENV['BUNDLE_GEMFILE'])
5
begin
6
  require 'bootsnap/setup' unless ENV['DISABLE_BOOTSNAP']
7
rescue LoadError
8
  # bootsnap is an optional dependency, so if we don't have it, it's fine
9
end