Merge pull request #5998 from betagouv/bootsnap

Utilisation de Bootsnap pour accélérer le démarrage de l'application Rails
This commit is contained in:
Pierre de La Morinerie 2021-03-19 08:12:21 +01:00 committed by GitHub
commit 8f383e77d5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 7 additions and 1 deletions

View file

@ -9,6 +9,7 @@ gem 'administrate'
gem 'after_party'
gem 'anchored'
gem 'bcrypt'
gem 'bootsnap', '>= 1.4.4', require: false # Reduces boot times through caching; required in config/boot.rb
gem 'browser'
gem 'chartkick'
gem 'chunky_png'

View file

@ -134,6 +134,8 @@ GEM
bcrypt (3.1.16)
bindata (2.4.8)
bindex (0.8.1)
bootsnap (1.7.2)
msgpack (~> 1.0)
brakeman (5.0.0)
browser (5.3.0)
builder (3.2.4)
@ -419,6 +421,7 @@ GEM
minitest (5.14.4)
momentjs-rails (2.20.1)
railties (>= 3.1)
msgpack (1.4.2)
multi_json (1.15.0)
multipart-post (2.1.1)
mustermann (1.1.1)
@ -781,6 +784,7 @@ DEPENDENCIES
annotate
axe-matchers
bcrypt
bootsnap (>= 1.4.4)
brakeman
browser
capybara

View file

@ -1,3 +1,4 @@
ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../Gemfile', __dir__)
require 'bundler/setup' # Set up gems listed in the Gemfile.
require "bundler/setup" # Set up gems listed in the Gemfile.
require "bootsnap/setup" # Speed up boot time by caching expensive operations.