Skip to content

Commit

Permalink
Add and set up Bootsnap
Browse files Browse the repository at this point in the history
  • Loading branch information
csutter committed Aug 25, 2023
1 parent d1632fc commit be7b355
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 4 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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)
Expand Down Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions config/boot.rb
Original file line number Diff line number Diff line change
@@ -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"

0 comments on commit be7b355

Please sign in to comment.