2018-12-07 18:15:06 +00:00
|
|
|
ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../Gemfile', __dir__)
|
2011-10-08 21:36:38 +00:00
|
|
|
|
2018-03-21 22:37:57 +00:00
|
|
|
# Set up gems listed in the Gemfile.
|
2016-05-08 21:33:34 +00:00
|
|
|
require 'bundler/setup' if File.exist?(ENV['BUNDLE_GEMFILE'])
|
2018-07-20 11:58:17 +00:00
|
|
|
begin
|
2019-06-25 12:11:06 +00:00
|
|
|
require 'bootsnap/setup' unless ENV['DISABLE_BOOTSNAP']
|
2018-07-20 11:58:17 +00:00
|
|
|
rescue LoadError
|
2018-11-19 14:08:23 +00:00
|
|
|
# bootsnap is an optional dependency, so if we don't have it, it's fine
|
2018-07-20 11:58:17 +00:00
|
|
|
end
|