diff --git a/Gemfile b/Gemfile index e4582da..2a4388d 100644 --- a/Gemfile +++ b/Gemfile @@ -9,6 +9,7 @@ gem "activemodel", RAILS_GEMS_VERSION gem "activesupport", RAILS_GEMS_VERSION gem "railties", RAILS_GEMS_VERSION +gem "bootsnap", require: false gem "govuk_app_config" group :test do diff --git a/Gemfile.lock b/Gemfile.lock index 979a994..2526fb2 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -24,6 +24,8 @@ GEM addressable (2.8.5) public_suffix (>= 2.0.2, < 6.0) ast (2.4.2) + bootsnap (1.16.0) + msgpack (~> 1.2) brakeman (6.0.1) builder (3.2.4) capybara (3.39.2) @@ -81,6 +83,7 @@ GEM method_source (1.0.0) mini_mime (1.1.5) minitest (5.19.0) + msgpack (1.7.2) nio4r (2.5.9) nokogiri (1.15.4-aarch64-linux) racc (~> 1.4) @@ -401,6 +404,7 @@ DEPENDENCIES actionpack (= 7.0.7.2) activemodel (= 7.0.7.2) activesupport (= 7.0.7.2) + bootsnap brakeman debug govuk_app_config diff --git a/config/boot.rb b/config/boot.rb index 2820116..997563c 100644 --- a/config/boot.rb +++ b/config/boot.rb @@ -1,3 +1,4 @@ ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../Gemfile", __dir__) require "bundler/setup" # Set up gems listed in the Gemfile. +require "bootsnap/setup"