From b56db3338168a4fd48de9e87e6014260477368cd Mon Sep 17 00:00:00 2001 From: blackst0ne Date: Tue, 27 Jun 2017 10:11:29 +1100 Subject: Bump bootsnap to 1.1.1 --- config/boot.rb | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'config/boot.rb') diff --git a/config/boot.rb b/config/boot.rb index 2d01092acd5..02baeab29ab 100644 --- a/config/boot.rb +++ b/config/boot.rb @@ -5,6 +5,12 @@ ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__) require 'bundler/setup' if File.exist?(ENV['BUNDLE_GEMFILE']) +begin + require 'bootsnap/setup' +rescue SystemCallError => exception + $stderr.puts "WARNING: Bootsnap failed to setup: #{exception.message}" +end + # set default directory for multiproces metrics gathering if ENV['RAILS_ENV'] == 'development' || ENV['RAILS_ENV'] == 'test' ENV['prometheus_multiproc_dir'] ||= 'tmp/prometheus_multiproc_dir' -- cgit v1.2.3