diff --git a/Gemfile b/Gemfile index 258cb99cc2..0f1a0a7ddb 100644 --- a/Gemfile +++ b/Gemfile @@ -69,6 +69,7 @@ gem "active_model_serializers", "0.8.4" gem 'activerecord-session_store' gem 'acts-as-taggable-on', '~> 7.0' gem 'angularjs-file-upload-rails', '~> 2.4.1' +gem 'bootsnap', require: false gem 'custom_error_message', github: 'jeremydurham/custom-err-msg' gem 'dalli' gem 'figaro' diff --git a/Gemfile.lock b/Gemfile.lock index 301295bb97..e196f479f8 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -150,6 +150,8 @@ GEM json (~> 1.4) nokogiri (~> 1) bcrypt (3.1.16) + bootsnap (1.7.5) + msgpack (~> 1.0) bugsnag (6.20.0) concurrent-ruby (~> 1.0) builder (3.2.4) @@ -680,6 +682,7 @@ DEPENDENCIES awesome_nested_set awesome_print aws-sdk (= 1.67.0) + bootsnap bugsnag bullet byebug diff --git a/config/boot.rb b/config/boot.rb index 4489e58688..eafbdb18d7 100644 --- a/config/boot.rb +++ b/config/boot.rb @@ -4,3 +4,4 @@ require 'rubygems' ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__) require 'bundler/setup' if File.exists?(ENV['BUNDLE_GEMFILE']) +require 'bootsnap/setup'