Skip to content

Commit

Permalink
install bootsnap required by the deployment workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
did committed Aug 30, 2024
1 parent 43c3c17 commit b014969
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ gem 'locomotivecms_common', github: 'locomotivecms/common', ref: 'c78da158', req
# gem 'locomotivecms_search', github: 'locomotivecms/search', ref: '35e5813'
gem 'custom_fields', github: 'locomotivecms/custom_fields', ref: '87bf1b', require: false

# Reduces boot times through caching; required in config/boot.rb
gem "bootsnap", require: false

# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
# gem 'rails', '~> 7.0', '>= 7.0.4.2'
# Use Puma as the app server
Expand Down
4 changes: 4 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,8 @@ GEM
bazaar (0.0.2)
bcrypt (3.1.20)
bigdecimal (3.1.8)
bootsnap (1.18.4)
msgpack (~> 1.2)
bootstrap-kaminari-views (0.0.5)
kaminari (>= 0.13)
rails (>= 3.1)
Expand Down Expand Up @@ -369,6 +371,7 @@ GEM
mongoid-tree (2.2.0)
mongoid (>= 4.0, < 9)
morphine (0.1.1)
msgpack (1.7.2)
multi_json (1.15.0)
multi_xml (0.7.1)
bigdecimal (~> 3.1)
Expand Down Expand Up @@ -522,6 +525,7 @@ PLATFORMS
x86_64-linux

DEPENDENCIES
bootsnap
carrierwave-aws
custom_fields!
debug (>= 1.0.0)
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" # Speed up boot time by caching expensive operations.

0 comments on commit b014969

Please sign in to comment.