debian-mirror-gitlab/config/boot.rb

6 lines
278 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'])
2019-10-12 21:52:04 +05:30
require 'bootsnap/setup' if ENV['RAILS_ENV'] != 'production' || %w(1 yes true).include?(ENV['ENABLE_BOOTSNAP'])