debian-mirror-gitlab/config/boot.rb

10 lines
325 B
Ruby
Raw Normal View History

2019-02-15 15:39:39 +05:30
ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../Gemfile', __dir__)
2014-09-02 18:07:02 +05:30
2018-05-09 12:01:36 +05:30
# Set up gems listed in the Gemfile.
2016-06-02 11:05:42 +05:30
require 'bundler/setup' if File.exist?(ENV['BUNDLE_GEMFILE'])
2018-11-18 11:00:15 +05:30
begin
2019-09-30 21:07:59 +05:30
require 'bootsnap/setup' unless ENV['DISABLE_BOOTSNAP']
2018-11-18 11:00:15 +05:30
rescue LoadError
2019-02-15 15:39:39 +05:30
# bootsnap is an optional dependency, so if we don't have it, it's fine
2018-11-18 11:00:15 +05:30
end