diff options
Diffstat (limited to 'config/boot.rb')
-rw-r--r-- | config/boot.rb | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/config/boot.rb b/config/boot.rb index 41bf7953737..afa3c04c3c7 100644 --- a/config/boot.rb +++ b/config/boot.rb @@ -1,7 +1,4 @@ # frozen_string_literal: true -ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../Gemfile', __dir__) - -# Set up gems listed in the Gemfile. -require 'bundler/setup' if File.exist?(ENV['BUNDLE_GEMFILE']) +require_relative 'bundler_setup' require 'bootsnap/setup' if ENV['RAILS_ENV'] != 'production' || %w(1 yes true).include?(ENV['ENABLE_BOOTSNAP']) |